diff options
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -559,7 +559,7 @@ // If we've just inserted a new record, set the ID of this object if ($this->update_or_insert == self::INSERT) { - $this->update_or_insert == self::UPDATE; + $this->update_or_insert = self::UPDATE; $this->data[$this->get_id_column_name()] = self::$db->lastInsertId(); } |