Commit a4167f8d authored by zYne's avatar zYne

little bug fix

parent 584c55fa
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment