added stripslashes when magic qoutes is on

This commit is contained in:
Lars Kneschke 2004-01-02 01:42:23 +00:00
parent e0d336f7ee
commit 75e6e79ddb

View File

@ -508,6 +508,10 @@
$value = $GLOBALS[$meth][$varname];
$i = $cnt+1;
}
if(get_magic_quotes_gpc())
{
$value = stripslashes($value);
}
break;
case 'FILES':
if(phpversion() >= '4.1.0')