From 5e0bd9bb71e29c2b9c2d11285e19f4293c5f49ea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Sep 2023 13:53:29 +0200 Subject: [PATCH] Avoid warning --- htdocs/core/db/Database.interface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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