From 5f4837cdb8154c6132d97a08ecb1a002e972cd64 Mon Sep 17 00:00:00 2001 From: laf Date: Mon, 21 Dec 2015 18:22:36 +0000 Subject: [PATCH] Did not update vars to _GET before submitting --- html/includes/api_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/api_functions.inc.php b/html/includes/api_functions.inc.php index cbba6fbba..8c4cf2817 100644 --- a/html/includes/api_functions.inc.php +++ b/html/includes/api_functions.inc.php @@ -62,7 +62,7 @@ function get_graph_by_port_hostname() { $vars['to'] = $_GET['to']; } - if (!empty($vars['ifDescr']) == true) { + if ($_GET['ifDescr'] == true) { $port = 'ifDescr'; } else {