#368 refs: r1846 Missed Doctrine_identifier
This commit is contained in:
parent
8b8ae07e00
commit
82432b33df
@ -1095,7 +1095,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
|
|||||||
foreach ($this as $column => $value) {
|
foreach ($this as $column => $value) {
|
||||||
$a[$column] = $value;
|
$a[$column] = $value;
|
||||||
}
|
}
|
||||||
if ($this->_table->getIdentifierType() == Doctrine_Identifier::AUTO_INCREMENT) {
|
if ($this->_table->getIdentifierType() == Doctrine::IDENTIFIER_AUTOINC) {
|
||||||
$i = $this->_table->getIdentifier();
|
$i = $this->_table->getIdentifier();
|
||||||
$a[$i] = $this->getIncremented();
|
$a[$i] = $this->getIncremented();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user