From 1f33acd2b7e6b41483920fc89e803904ef0363ee Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Fri, 20 May 2011 16:19:17 +0000 Subject: [PATCH] fix prev git-svn-id: http://www.observium.org/svn/observer/trunk@2354 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/macaccounting/auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/graphs/macaccounting/auth.inc.php b/html/includes/graphs/macaccounting/auth.inc.php index c81134a7a..36d2871b6 100644 --- a/html/includes/graphs/macaccounting/auth.inc.php +++ b/html/includes/graphs/macaccounting/auth.inc.php @@ -5,7 +5,7 @@ if (is_numeric($id)) $acc = dbFetchRow("SELECT * FROM `mac_accounting` AS M, `ports` AS I, `devices` AS D WHERE M.ma_id = ? AND I.interface_id = M.interface_id AND I.device_id = D.device_id", array($id)); - if (($config['allow_unauth_graphs'] || port_permitted($acc['interface_id'])) + if (($config['allow_unauth_graphs'] || port_permitted($acc['interface_id']))) { if(is_file($config['rrd_dir'] . "/" . $acc['hostname'] . "/" . safename("cip-" . $acc['ifIndex'] . "-" . $acc['mac'] . ".rrd"))) {