mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 19:20:47 +01:00
small fix
This commit is contained in:
parent
2c20ef30e6
commit
aa86cc11eb
@ -1209,11 +1209,11 @@
|
||||
{
|
||||
if (is_array($val))
|
||||
{
|
||||
_check_script($var[$key]);
|
||||
_check_script_tag($var[$key]);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (preg_match('/(<|<)+\/?script(>|>)+/i',$val))
|
||||
if (preg_match('/<\/?script>/i',$val))
|
||||
{
|
||||
unset($var[$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user