From c23b4f0d80d389007cf058d0f17a65001a644811 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 28 Dec 2010 15:03:35 -0500 Subject: Fix case statements, may fix rrd graph generation for certain periods. --- usr/local/www/status_rrd_graph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr') 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: -- cgit v1.1