forked from Cavemanon/cavepaintings
fucking php, this took an hour to debug because it just dies with no error message -_-
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user