From 8896de88d32ead6e9e75c19fb091a7fd0ae0087d Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 1 Jun 2011 09:52:03 +0000 Subject: [PATCH] debugging git-svn-id: http://www.observium.org/svn/observer/trunk@2378 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/macaccounting/auth.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/includes/graphs/macaccounting/auth.inc.php b/html/includes/graphs/macaccounting/auth.inc.php index a90acaaae..d420c44f7 100644 --- a/html/includes/graphs/macaccounting/auth.inc.php +++ b/html/includes/graphs/macaccounting/auth.inc.php @@ -5,6 +5,8 @@ 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)); + print_r($acc); + if (is_array($acc)) { if($auth || port_permitted($acc['interface_id']))