Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Assign config to variable before accessing array items in put command.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyshaw committed Sep 24, 2015
1 parent 964dc74 commit 7bb2460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Meanbee/Magedbm/Command/PutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ private function createBackup(InputInterface $input, OutputInterface $output)
$dbHelper = new DatabaseHelper();
$dbHelper->setHelperSet($magerun->getHelperSet());
$dbHelper->detectDbSettings(new NullOutput());
$magerunConfig = $magerun->getConfig();
$stripTables = $dbHelper->resolveTables(explode(' ', '@development'),
$dbHelper->getTableDefinitions(
$magerun->getConfig()['commands']['N98\Magento\Command\Database\DumpCommand'])
$dbHelper->getTableDefinitions($magerunConfig['commands']['N98\Magento\Command\Database\DumpCommand'])
);

$output->writeln(array('',
Expand Down

0 comments on commit 7bb2460

Please sign in to comment.