Fixes the broken DQL command
Now it can again output more than only the created SQL query.
See cdb62a70cd (comments)
This commit is contained in:
parent
fe4d46014d
commit
3c2ed7d8a8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ EOT
|
|||
$query->setMaxResults((int) $maxResult);
|
||||
}
|
||||
|
||||
if ($input->hasOption('show-sql')) {
|
||||
if ($input->hasOption('show-sql') && $input->getOption('show-sql')) {
|
||||
Debug::dump($query->getSQL());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue