brute-force changed access to $_GET['key'] to use get_array instead
[plewww.git] / planetlab / nodes / node.php
index 220f508..61c9db4 100644 (file)
@@ -23,7 +23,7 @@ require_once 'plc_objects.php';
 
 // -------------------- 
 // recognized URL arguments
-$node_id=intval($_GET['id']);
+$node_id=intval(get_array($_GET, 'id'));
 if ( ! $node_id ) { plc_error('Malformed URL - id not set'); return; }
 
 ////////////////////