From a606981e9262e9f4b568861f1e467e01d14f82e8 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 30 Jan 2013 07:59:40 +0000 Subject: Make smal fix --- usr/local/www/status_queues.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php index 8ca445c..50bdec5 100755 --- a/usr/local/www/status_queues.php +++ b/usr/local/www/status_queues.php @@ -85,7 +85,7 @@ if ($_REQUEST['getactivity']) { /* calculate the bigger amount of packets being moved through all queues. */ foreach($statistics as $q) { if ($bigger_packets < $q->pps) - {$bigger_packets = $q->pps;} + $bigger_packets = $q->pps; } $finscript = ""; foreach($statistics as $q) { @@ -204,6 +204,7 @@ function processQueues($altqstats, $level){ } function statsQueues($xml){ global $statistics; + $current = new QueueStats(); $child = new QueueStats(); $current->queuename = $xml['name'] . $xml['interface']; -- cgit v1.1