fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead

This commit is contained in:
ralf 2023-11-17 11:19:15 +02:00
parent 1b9c543547
commit bf7a20d05b

View File

@ -66,13 +66,13 @@ function _check_script_tag(&$var,$name='',$log=true)
{
if($log)
{
error_log("*** _check_script_tag($name): unset(${name}[$key]) with value '$val'");
error_log("*** _check_script_tag($name): unset({$name}[$key]) with value '$val'");
}
unset($var[$key]);
}
elseif($log)
{
error_log("*** _check_script_tag($name): HtmlLawed::purify(${name}[$key]) succeeded '$val' --> '{$var[$key]}'");
error_log("*** _check_script_tag($name): HtmlLawed::purify({$name}[$key]) succeeded '$val' --> '{$var[$key]}'");
}
}
}