diff --git a/core/database.class.php b/core/database.class.php index 83f2da29..cfb2abaf 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -393,7 +393,7 @@ class Database { * get the ID of the last inserted row */ public function get_last_insert_id() { - return $this->get_last_insert_id(); + return $this->db->lastInsertId(); }