From 1bce11aec73bcd6f90fe8e72877b4061ae8d45af Mon Sep 17 00:00:00 2001 From: Karol Nowacki Date: Thu, 21 Apr 2011 20:24:38 +0200 Subject: resolve php notices Including a lot of undefined $_GET values. --- host.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host.php') 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'; require_once 'inc/html.inc.php'; require_once 'inc/collectd.inc.php'; -$host = validate_get($_GET['h'], 'host'); -$splugin = validate_get($_GET['p'], 'plugin'); +$host = validate_get(GET('h'), 'host'); +$splugin = validate_get(GET('p'), 'plugin'); html_start(); -- cgit v1.1