1
0
mirror of synced 2025-02-20 06:03:15 +03:00

#368 refs: r1846 Missed Doctrine_identifier

This commit is contained in:
RossC0 2007-06-26 12:51:46 +00:00
parent 8b8ae07e00
commit 82432b33df

View File

@ -1095,7 +1095,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
foreach ($this as $column => $value) {
$a[$column] = $value;
}
if ($this->_table->getIdentifierType() == Doctrine_Identifier::AUTO_INCREMENT) {
if ($this->_table->getIdentifierType() == Doctrine::IDENTIFIER_AUTOINC) {
$i = $this->_table->getIdentifier();
$a[$i] = $this->getIncremented();
}