diff --git a/htdocs/core/db/Database.interface.php b/htdocs/core/db/Database.interface.php index 7e0efa222db..f689df2a70d 100644 --- a/htdocs/core/db/Database.interface.php +++ b/htdocs/core/db/Database.interface.php @@ -191,7 +191,7 @@ interface Database /** * Escape a string to insert data into a like. - * Can be used this way: LIKE '%".$this->db->escapeforlike($this->db->escape(...))."%' + * Can be used this way: LIKE '%".dbhandler->escapeforlike(dbhandler->escape(...))."%' * * @param string $stringtoencode String to escape * @return string String escaped