1
0
mirror of synced 2025-01-18 14:31:40 +03:00

Fixed : Ticket #14

This commit is contained in:
doctrine 2006-06-25 18:47:42 +00:00
parent 69e3a7112e
commit 94433f9034

View File

@ -562,6 +562,9 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
if($k == 0) {
// record uses auto_increment column
$id = $this->dbh->lastinsertid();
if( ! $id)
$id = $table->getMaxIdentifier();
}