Don't call non static class statically

This commit is contained in:
Raphaël Doursenaud 2013-09-05 16:43:22 +02:00
parent 109cc09e82
commit 0c0740cac7

View File

@ -685,7 +685,7 @@ class DoliDBSqlite
*/ */
function escape($stringtoencode) function escape($stringtoencode)
{ {
return PDO::quote($stringtoencode); return $this->db->quote($stringtoencode);
} }
/** /**