From 008de1024d4c4cfd06b78c722f4013d462c96e1a Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 16 Feb 2007 19:16:00 +0000 Subject: [PATCH] --- lib/Doctrine/Sequence/Firebird.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Sequence/Firebird.php b/lib/Doctrine/Sequence/Firebird.php index b36ca996a..3ff7be2ba 100644 --- a/lib/Doctrine/Sequence/Firebird.php +++ b/lib/Doctrine/Sequence/Firebird.php @@ -42,7 +42,7 @@ class Doctrine_Sequence_Firebird extends Doctrine_Sequence */ public function nextID($seqName, $onDemand = true) { - $sequenceName = $this->conn->quoteIdentifier($this->getSequenceName($seqName), true); + $sequenceName = $this->conn->quoteIdentifier($this->conn->getSequenceName($seqName), true); $query = 'SELECT GEN_ID(' . $sequenceName . ', 1) as the_value FROM RDB$DATABASE'; try { @@ -88,7 +88,7 @@ class Doctrine_Sequence_Firebird extends Doctrine_Sequence */ public function currId($seqName) { - $sequenceName = $this->conn->quoteIdentifier($this->getSequenceName($seqName), true); + $sequenceName = $this->conn->quoteIdentifier($this->conn->getSequenceName($seqName), true); $query = 'SELECT GEN_ID(' . $sequenceName . ', 0) as the_value FROM RDB$DATABASE';