1
0
mirror of synced 2024-12-13 22:56:04 +03:00

little bug fix

This commit is contained in:
zYne 2007-02-16 19:54:41 +00:00
parent 584c55faac
commit a4167f8de8

View File

@ -47,7 +47,7 @@ class Doctrine_Sequence_Firebird extends Doctrine_Sequence
$query = 'SELECT GEN_ID(' . $sequenceName . ', 1) as the_value FROM RDB$DATABASE';
try {
$result = $this->conn->fetchOne($query, 'integer');
$result = $this->conn->fetchOne($query);
} catch(Doctrine_Connection_Exception $e) {
if ($onDemand && $e->getPortableCode() == Doctrine::ERR_NOSUCHTABLE) {