From 4b5795cc5bb6bc08f41c065a756072028f6b1fef Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 26 Jan 2011 12:19:18 +0000 Subject: [PATCH] fucking php, this took an hour to debug because it just dies with no error message -_- --- core/database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }