diff --git a/classes/db/Db.php b/classes/db/Db.php index 4925acf5e..f6d5ce9d7 100644 --- a/classes/db/Db.php +++ b/classes/db/Db.php @@ -558,7 +558,7 @@ abstract class DbCore * @param boolean $html_ok Does data contain HTML code ? (optional) * @return string Sanitized data */ - public function escape($string, $html_ok) + public function escape($string, $html_ok = false) { if (_PS_MAGIC_QUOTES_GPC_) $string = stripslashes($string);