From 0c0740cac7f66ff143da41fcc1ed0c41614a8ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 5 Sep 2013 16:43:22 +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 4a9a85d7d0b..7613079df68 100644 --- a/htdocs/core/db/sqlite.class.php +++ b/htdocs/core/db/sqlite.class.php @@ -685,7 +685,7 @@ class DoliDBSqlite */ function escape($stringtoencode) { - return PDO::quote($stringtoencode); + return $this->db->quote($stringtoencode); } /**