aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/host.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 /host.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 'host.php')
-rw-r--r--host.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/host.php b/host.php
index 03d515c..2ba662d 100644
--- a/host.php
+++ b/host.php
@@ -4,8 +4,8 @@ require_once 'conf/common.inc.php';
4require_once 'inc/html.inc.php'; 4require_once 'inc/html.inc.php';
5require_once 'inc/collectd.inc.php'; 5require_once 'inc/collectd.inc.php';
6 6
7$host = validate_get(GET('h'), 'host'); 7$host = validate_get(GET('h'), 'h');
8$plugin = validate_get(GET('p'), 'plugin'); 8$plugin = validate_get(GET('p'), 'p');
9 9
10$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); 10$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin);
11 11