git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brute-force changed access to $_GET['key'] to use get_array instead
[plewww.git]
/
planetlab
/
tags
/
nodegroup.php
diff --git
a/planetlab/tags/nodegroup.php
b/planetlab/tags/nodegroup.php
index
b29545a
..
fddba94
100644
(file)
--- a/
planetlab/tags/nodegroup.php
+++ b/
planetlab/tags/nodegroup.php
@@
-22,7
+22,7
@@
require_once 'toggle.php';
// --------------------
// recognized URL arguments
// --------------------
// recognized URL arguments
-$nodegroup_id=intval(
$_GET['id']
);
+$nodegroup_id=intval(
get_array($_GET, 'id')
);
if ( ! $nodegroup_id ) { plc_error('Malformed URL - id not set'); return; }
////////////////////
if ( ! $nodegroup_id ) { plc_error('Malformed URL - id not set'); return; }
////////////////////