From 0ad03d6e2f682596c464687680e7af4cfdf73c18 Mon Sep 17 00:00:00 2001 From: romanb Date: Wed, 7 Nov 2007 15:38:20 +0000 Subject: [PATCH] Fixed #577 --- lib/Doctrine/Record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index 1ed0ff93b..068449f76 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -1050,7 +1050,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count $conn = $this->_table->getConnection(); } - return $conn->replace($this->_table->getTableName(), $this->getPrepared(), $this->id); + return $conn->replace($this->_table->getTableName(), $this->getPrepared(), $this->_id); } /**