mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead
This commit is contained in:
parent
11079503d1
commit
51c09a937d
@ -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]}'");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -192,4 +192,4 @@ function json_php_unserialize($str, $allow_not_serialized=false)
|
||||
return false;
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user