aboutsummaryrefslogtreecommitdiffstats
path: root/config/rrd-summary/status_rrd_summary.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/rrd-summary/status_rrd_summary.php')
-rw-r--r--config/rrd-summary/status_rrd_summary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/rrd-summary/status_rrd_summary.php b/config/rrd-summary/status_rrd_summary.php
index 3d50f2f4..0e43d95c 100644
--- a/config/rrd-summary/status_rrd_summary.php
+++ b/config/rrd-summary/status_rrd_summary.php
@@ -35,7 +35,7 @@ $lastmonth = "00 " . date("m/{$startday}/Y", strtotime("-1 month", strtotime(dat
$thismonth = fetch_rrd_summary($rrd, $start, "now");
$lastmonth = fetch_rrd_summary($rrd, $lastmonth, $start, 720*60);
-function fetch_rrd_summary($rrd, $start, $end, $resolution=(60*60)) {
+function fetch_rrd_summary($rrd, $start, $end, $resolution=3600) {
$traffic = array();
$rrd = escapeshellarg("/var/db/rrd/{$rrd}");
$start = escapeshellarg($start);