1
0
mirror of synced 2025-03-23 00:13:50 +03:00

[2.0][DDC-529] Fixed undeclared in dbal:run-sql command. Thanks for provided patch, Hannes.

This commit is contained in:
Guilherme Blanco 2010-04-22 12:17:58 -03:00
parent 7006f4dd74
commit 825cd7f478

View File

@ -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);