mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +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)
|
||||
{
|
||||
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