Plasma Sun Apr 23 2006 at 1:27 am hrmm, looks like a PHP5 problem
Apparently $this is reserved in PHP5. Changing the variable name to anything else will fix it. For example:
function array_stripslashes ($array)
{
if (is_array($array))
{
foreach ($array as $index => $this_line)
{
$array[$index] = array_stripslashes($this_line);
}
}
else
{
$array = str_replace(''', "'", stripslashes($array));
}
return $array;
}
|