Commit 0ad03d6e authored by romanb's avatar romanb

Fixed #577

parent f6a0aeb5
......@@ -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);
}
/**
......
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