From 2a337e593359fb03472d1a6c4155971942b307be Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 25 May 2015 11:26:47 +0200 Subject: inc/functions: make type argument of validate_get function exactly the same as $_GET value --- host.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host.php') 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'; require_once 'inc/html.inc.php'; require_once 'inc/collectd.inc.php'; -$host = validate_get(GET('h'), 'host'); -$plugin = validate_get(GET('p'), 'plugin'); +$host = validate_get(GET('h'), 'h'); +$plugin = validate_get(GET('p'), 'p'); $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); -- cgit v1.1