1
0
mirror of synced 2025-03-23 16:33:54 +03:00

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:
Bob van de Vijver 2015-01-17 13:21:30 +01:00
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;
}