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 --- detail.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'detail.php') diff --git a/detail.php b/detail.php index 777294b..b4ece36 100644 --- a/detail.php +++ b/detail.php @@ -15,12 +15,12 @@ if (empty($_GET['y'])) if ($CONFIG['graph_type'] == 'hybrid') $CONFIG['graph_type'] = 'canvas'; -$host = validate_get(GET('h'), 'host'); -$plugin = validate_get(GET('p'), 'plugin'); -$pinstance = validate_get(GET('pi'), 'pinstance'); -$category = validate_get(GET('c'), 'category'); -$type = validate_get(GET('t'), 'type'); -$tinstance = validate_get(GET('ti'), 'tinstance'); +$host = validate_get(GET('h'), 'h'); +$plugin = validate_get(GET('p'), 'p'); +$pinstance = validate_get(GET('pi'), 'pi'); +$category = validate_get(GET('c'), 'c'); +$type = validate_get(GET('t'), 't'); +$tinstance = validate_get(GET('ti'), 'ti'); $seconds = GET('s'); $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); -- cgit v1.1