aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPim van den Berg2015-05-25 11:26:47 +0200
committerPim van den Berg2015-05-25 12:11:25 +0200
commit2a337e593359fb03472d1a6c4155971942b307be (patch)
tree2a2285fec7083ccfa87a9df6c5c325648ec85ebc /detail.php
parentinc/html: s/licence/license/ (diff)
downloadapt-panopticon_cgp-2a337e593359fb03472d1a6c4155971942b307be.zip
apt-panopticon_cgp-2a337e593359fb03472d1a6c4155971942b307be.tar.gz
apt-panopticon_cgp-2a337e593359fb03472d1a6c4155971942b307be.tar.bz2
apt-panopticon_cgp-2a337e593359fb03472d1a6c4155971942b307be.tar.xz
inc/functions: make type argument of validate_get function exactly the same as $_GET value
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/detail.php b/detail.php
index 777294b..b4ece36 100644
--- a/detail.php
+++ b/detail.php
@@ -15,12 +15,12 @@ if (empty($_GET['y']))
15if ($CONFIG['graph_type'] == 'hybrid') 15if ($CONFIG['graph_type'] == 'hybrid')
16 $CONFIG['graph_type'] = 'canvas'; 16 $CONFIG['graph_type'] = 'canvas';
17 17
18$host = validate_get(GET('h'), 'host'); 18$host = validate_get(GET('h'), 'h');
19$plugin = validate_get(GET('p'), 'plugin'); 19$plugin = validate_get(GET('p'), 'p');
20$pinstance = validate_get(GET('pi'), 'pinstance'); 20$pinstance = validate_get(GET('pi'), 'pi');
21$category = validate_get(GET('c'), 'category'); 21$category = validate_get(GET('c'), 'c');
22$type = validate_get(GET('t'), 'type'); 22$type = validate_get(GET('t'), 't');
23$tinstance = validate_get(GET('ti'), 'tinstance'); 23$tinstance = validate_get(GET('ti'), 'ti');
24$seconds = GET('s'); 24$seconds = GET('s');
25 25
26$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); 26$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin);