diff --git a/www/_include.php b/www/_include.php index 3905c218dae7849c034fb8e1f3ce31523924dcb2..0533175d4ed46be125affe0f987282c75cc5a26e 100644 --- a/www/_include.php +++ b/www/_include.php @@ -3,7 +3,7 @@ /* Remove magic quotes. */ if(get_magic_quotes_gpc()) { foreach(array('_GET', '_POST', '_COOKIE', '_REQUEST') as $a) { - if (is_array($$a)) { + if (isset($$a) && is_array($$a)) { foreach($$a as &$v) { /* We don't use array-parameters anywhere. * Ignore any that may appear.