summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-28 15:03:35 -0500
committerjim-p <jimp@pfsense.org>2010-12-28 15:04:12 -0500
commitc23b4f0d80d389007cf058d0f17a65001a644811 (patch)
tree8dea130871b8c67d6f9e79e190e39aa66f50051b /usr/local/www
parent8e9adb53b09ebe0147163acf3572d617e31f65ff (diff)
downloadpfsense-c23b4f0d80d389007cf058d0f17a65001a644811.zip
pfsense-c23b4f0d80d389007cf058d0f17a65001a644811.tar.gz
Fix case statements, may fix rrd graph generation for certain periods.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/status_rrd_graph.php4
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:
OpenPOWER on IntegriCloud