From 465d59ba8289558fff45832da3eb9830c282c4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 5 Sep 2013 16:44:57 +0200 Subject: [PATCH] Don't call non static class statically --- htdocs/core/db/sqlite.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/db/sqlite.class.php b/htdocs/core/db/sqlite.class.php index 7613079df68..631496b3998 100644 --- a/htdocs/core/db/sqlite.class.php +++ b/htdocs/core/db/sqlite.class.php @@ -856,7 +856,7 @@ class DoliDBSqlite */ function last_insert_id($tab,$fieldid='rowid') { - return PDO::lastInsertId(); + return $this->db->lastInsertId(); } /**