Fixed : Ticket #14
This commit is contained in:
parent
69e3a7112e
commit
94433f9034
@ -562,6 +562,9 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
|
|||||||
if($k == 0) {
|
if($k == 0) {
|
||||||
// record uses auto_increment column
|
// record uses auto_increment column
|
||||||
|
|
||||||
|
$id = $this->dbh->lastinsertid();
|
||||||
|
|
||||||
|
if( ! $id)
|
||||||
$id = $table->getMaxIdentifier();
|
$id = $table->getMaxIdentifier();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user