diff options
author | Pim van den Berg | 2015-05-25 11:26:47 +0200 |
---|---|---|
committer | Pim van den Berg | 2015-05-25 12:11:25 +0200 |
commit | 2a337e593359fb03472d1a6c4155971942b307be (patch) | |
tree | 2a2285fec7083ccfa87a9df6c5c325648ec85ebc /detail.php | |
parent | inc/html: s/licence/license/ (diff) | |
download | apt-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.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -15,12 +15,12 @@ if (empty($_GET['y'])) | |||
15 | if ($CONFIG['graph_type'] == 'hybrid') | 15 | if ($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); |