mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed some graphs having the wrong timeframe (#10554)
This commit is contained in:
committed by
Neil Lathwood
parent
c089f3bae4
commit
f1a7379f4a
@@ -2,8 +2,13 @@
|
||||
|
||||
use LibreNMS\Util\Clean;
|
||||
|
||||
$from = parse_at_time($_GET['from']);
|
||||
$to = parse_at_time($_GET['to']);
|
||||
if ($_GET['from']) {
|
||||
$from = parse_at_time($_GET['from']);
|
||||
}
|
||||
|
||||
if ($_GET['to']) {
|
||||
$to = parse_at_time($_GET['to']);
|
||||
}
|
||||
|
||||
if ($_GET['width']) {
|
||||
$width = (int)$_GET['width'];
|
||||
|
Reference in New Issue
Block a user