[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
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ EOT
|
||||||
if (preg_match('/^select/i', $sql)) {
|
if (preg_match('/^select/i', $sql)) {
|
||||||
$resultSet = $conn->fetchAll($sql);
|
$resultSet = $conn->fetchAll($sql);
|
||||||
} else {
|
} else {
|
||||||
$resultSet = $em->getConnection()->executeUpdate($sql);
|
$resultSet = $conn->executeUpdate($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
\Doctrine\Common\Util\Debug::dump($resultSet, (int) $depth);
|
\Doctrine\Common\Util\Debug::dump($resultSet, (int) $depth);
|
||||||
|
|
Loading…
Add table
Reference in a new issue