[2.0][DDC-529] Fixed undeclared in dbal:run-sql command. Thanks for provided patch, Hannes.
This commit is contained in:
parent
7006f4dd74
commit
825cd7f478
@ -78,7 +78,7 @@ EOT
|
||||
if (preg_match('/^select/i', $sql)) {
|
||||
$resultSet = $conn->fetchAll($sql);
|
||||
} else {
|
||||
$resultSet = $em->getConnection()->executeUpdate($sql);
|
||||
$resultSet = $conn->executeUpdate($sql);
|
||||
}
|
||||
|
||||
\Doctrine\Common\Util\Debug::dump($resultSet, (int) $depth);
|
||||
|
Loading…
x
Reference in New Issue
Block a user