Fix PHP warning on Preferences > General page

This commit is contained in:
Abhishek Kumar
2023-07-31 12:01:19 +05:30
parent ccace94c38
commit 9bf3c567e3

View File

@@ -3603,6 +3603,8 @@ exit;
public static function purifyHTML($html, $uri_unescape = null, $allow_style = false)
{
require_once(_PS_TOOL_DIR_.'htmlpurifier/HTMLPurifier.auto.php');
static $use_html_purifier = null;
static $purifier = null;