mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-27 07:42:49 +01:00
fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead
This commit is contained in:
parent
1b9c543547
commit
bf7a20d05b
@ -66,13 +66,13 @@ function _check_script_tag(&$var,$name='',$log=true)
|
|||||||
{
|
{
|
||||||
if($log)
|
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]);
|
unset($var[$key]);
|
||||||
}
|
}
|
||||||
elseif($log)
|
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]}'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user