diff options
author | jim-p <jimp@pfsense.org> | 2010-12-28 15:03:35 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-12-28 15:04:12 -0500 |
commit | c23b4f0d80d389007cf058d0f17a65001a644811 (patch) | |
tree | 8dea130871b8c67d6f9e79e190e39aa66f50051b /usr | |
parent | 8e9adb53b09ebe0147163acf3572d617e31f65ff (diff) | |
download | pfsense-c23b4f0d80d389007cf058d0f17a65001a644811.zip pfsense-c23b4f0d80d389007cf058d0f17a65001a644811.tar.gz |
Fix case statements, may fix rrd graph generation for certain periods.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 56b7413..c26663d 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -232,7 +232,7 @@ function get_dates($curperiod, $graph) { $starthour = 0; switch($offset) { - case 0; + case 0: $houroffset = $starthour; break; default: @@ -251,7 +251,7 @@ function get_dates($curperiod, $graph) { break; case "week": switch($offset) { - case 0; + case 0: $weekoffset = 0; break; default: |