fucking php, this took an hour to debug because it just dies with no error message -_-

This commit is contained in:
Shish 2011-01-26 12:19:18 +00:00
parent 0fe86a6291
commit 4b5795cc5b

View File

@ -393,7 +393,7 @@ class Database {
* get the ID of the last inserted row * get the ID of the last inserted row
*/ */
public function get_last_insert_id() { public function get_last_insert_id() {
return $this->get_last_insert_id(); return $this->db->lastInsertId();
} }