From 9d3e4e876189e468c504929300c7563bbbf26628 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 13 Dec 2011 17:47:36 +0000 Subject: [PATCH] fix bandwidth graph git-svn-id: http://www.observium.org/svn/observer/trunk@2778 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/bandwidth-graph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/bandwidth-graph.php b/html/bandwidth-graph.php index dd6da5a1d..0f6083d24 100644 --- a/html/bandwidth-graph.php +++ b/html/bandwidth-graph.php @@ -68,7 +68,7 @@ if ($imgtype == "historical") { $i = "0"; - foreach (dbFetchRows("SELECT * FROM `bill_history` WHERE `bill_id` = ? ORDER BY `bill_datefrom` LIMIT 12", array($bill_id)) as $data) { + foreach (dbFetchRows("SELECT * FROM `bill_history` WHERE `bill_id` = ? ORDER BY `bill_datefrom` DESC LIMIT 12", array($bill_id)) as $data) { $datefrom = strftime("%e %b %Y", strtotime($data['bill_datefrom'])); $dateto = strftime("%e %b %Y", strtotime($data['bill_dateto']));