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
@ -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…
x
Reference in New Issue
Block a user