Don't call non static class statically
This commit is contained in:
parent
109cc09e82
commit
0c0740cac7
@ -685,7 +685,7 @@ class DoliDBSqlite
|
||||
*/
|
||||
function escape($stringtoencode)
|
||||
{
|
||||
return PDO::quote($stringtoencode);
|
||||
return $this->db->quote($stringtoencode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user