Skip to content

Commit

Permalink
Merge pull request #21 from gregquat/patch-8
Browse files Browse the repository at this point in the history
Fix issue with argument entityName
  • Loading branch information
maxiloc committed Jul 28, 2015
2 parents d7da33e + 86b64cc commit 157a0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/ReindexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
$toReindex = [];

if ($input->hasArgument('entityName')) {
if ($input->getArgument('entityName')) {
$filter = $this->getEntityManager()->getRepository($input->getArgument('entityName'))->getClassName();
} else {
$filter = null;
Expand Down

0 comments on commit 157a0a3

Please sign in to comment.