mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +01:00
added stripslashes when magic qoutes is on
This commit is contained in:
parent
e0d336f7ee
commit
75e6e79ddb
@ -508,6 +508,10 @@
|
|||||||
$value = $GLOBALS[$meth][$varname];
|
$value = $GLOBALS[$meth][$varname];
|
||||||
$i = $cnt+1;
|
$i = $cnt+1;
|
||||||
}
|
}
|
||||||
|
if(get_magic_quotes_gpc())
|
||||||
|
{
|
||||||
|
$value = stripslashes($value);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'FILES':
|
case 'FILES':
|
||||||
if(phpversion() >= '4.1.0')
|
if(phpversion() >= '4.1.0')
|
||||||
|
Loading…
Reference in New Issue
Block a user