Backward compatibility with PHP-4.0.6: array_key_exists() -> isset()
[kewensis.git] / index.php
index 12a3190..dced3ef 100644 (file)
--- a/index.php
+++ b/index.php
@@ -113,7 +113,7 @@ function hiddens($array,$doinputs)
        global $permanents_array;
        $r="";
        foreach ($permanents_array as $key)
-               if (!array_key_exists($key,$array) && isset($GLOBALS[$key]))
+               if (!isset($key,$array) && isset($GLOBALS[$key]))
                        $array[$key]=$GLOBALS[$key];
        foreach ($array as $key=>$val) {
                if ($doinputs)