diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/status_rrd_graph_img.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php index fa3f43f..04ad09b 100644 --- a/usr/local/www/status_rrd_graph_img.php +++ b/usr/local/www/status_rrd_graph_img.php @@ -112,7 +112,7 @@ $defOptions = array( /* always set the average to the highest value as a fallback */ $average = 720 * 60; foreach($archives as $rra => $value) { - $archivestart = $end - ($rra * 60 * $value); + $archivestart = $now - ($rra * 60 * $value); if($archivestart <= $start) { $average = $rra * 60; break; |