Fix again for magic quotes.

This commit is contained in:
Savetheinternet 2010-11-03 16:32:23 +11:00
parent 7181634dcb
commit e1f36dfe9a

View File

@ -17,9 +17,10 @@
function strip_array(&$var) { function strip_array(&$var) {
return is_array($var) ? array_map("strip_array", $var) : stripslashes($var); return is_array($var) ? array_map("strip_array", $var) : stripslashes($var);
} }
strip_array($_SESSION);
strip_array($_GET); $_SESSION = strip_array($_SESSION);
strip_array($_POST); $_GET = strip_array($_GET);
$_POST = strip_array($_POST);
} }
if(isset($_POST['post'])) { if(isset($_POST['post'])) {