mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
strip slashes from value only if it exists
This commit is contained in:
parent
75ec26f4d4
commit
69e0eea014
@ -510,7 +510,7 @@
|
|||||||
$value = $GLOBALS[$meth][$varname];
|
$value = $GLOBALS[$meth][$varname];
|
||||||
$i = $cnt+1;
|
$i = $cnt+1;
|
||||||
}
|
}
|
||||||
if(get_magic_quotes_gpc())
|
if(get_magic_quotes_gpc() && isset($value))
|
||||||
{
|
{
|
||||||
if(@is_array($value))
|
if(@is_array($value))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user