mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix bandwidth graph
git-svn-id: http://www.observium.org/svn/observer/trunk@2778 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
if ($imgtype == "historical") {
|
if ($imgtype == "historical") {
|
||||||
$i = "0";
|
$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']));
|
$datefrom = strftime("%e %b %Y", strtotime($data['bill_datefrom']));
|
||||||
$dateto = strftime("%e %b %Y", strtotime($data['bill_dateto']));
|
$dateto = strftime("%e %b %Y", strtotime($data['bill_dateto']));
|
||||||
|
|||||||
Reference in New Issue
Block a user