brute-force changed access to $_GET['key'] to use get_array instead
[plewww.git] / planetlab / events / index.php
index 6eae410..6727914 100644 (file)
@@ -6,7 +6,7 @@
 require_once 'plc_login.php';
 
 // the choser form is expected to set _GET['type'] among other stuff
-if ($_GET['type']) require ('events.php') ;
+if (get_array($_GET, 'type')) require ('events.php') ;
 else             require ('events_choser.php');
 
 ?>