mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Fixed some scrut issues labelled Major
This commit is contained in:
@@ -112,7 +112,7 @@ if ($count <= 1) {
|
||||
$i = '0';
|
||||
|
||||
foreach (dbFetch('SELECT *, UNIX_TIMESTAMP(timestamp) AS formatted_date FROM bill_data WHERE bill_id = ? AND `timestamp` >= FROM_UNIXTIME( ? ) AND `timestamp` <= FROM_UNIXTIME( ? ) ORDER BY timestamp ASC', array($bill_id, $start, $end)) as $row) {
|
||||
@$timestamp = $row['formatted_date'];
|
||||
$timestamp = $row['formatted_date'];
|
||||
if (!$first) {
|
||||
$first = $timestamp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user