Commit 82432b33 authored by RossC0's avatar RossC0

#368 refs: r1846 Missed Doctrine_identifier

parent 8b8ae07e
......@@ -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();
}
......
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