aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/host.php
diff options
context:
space:
mode:
authorKarol Nowacki2011-04-21 20:24:38 +0200
committerPim van den Berg2011-04-21 20:30:07 +0200
commit1bce11aec73bcd6f90fe8e72877b4061ae8d45af (patch)
tree082af880c39ee01a241c0467fec29c239ef0155b /host.php
parentplugin/varnish: deduplicate rrd_format values (diff)
downloadapt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.zip
apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.gz
apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.bz2
apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.xz
resolve php notices
Including a lot of undefined $_GET values.
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 7dd509a..8e3b695 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'), 'host');
8$splugin = validate_get($_GET['p'], 'plugin'); 8$splugin = validate_get(GET('p'), 'plugin');
9 9
10html_start(); 10html_start();
11 11