summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-23 19:51:53 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-23 19:51:53 -0600
commit85a4aab6125b7cd79d1c5a697c1f47ce473d9785 (patch)
treecd0ca621c42f2860a01f6fde8ec88e363ab02238
parent59218e2212c318d7531ddeefe3a0dd254dd4d31c (diff)
downloadpfsense-85a4aab6125b7cd79d1c5a697c1f47ce473d9785.zip
pfsense-85a4aab6125b7cd79d1c5a697c1f47ce473d9785.tar.gz
Fix showing the current graph selection on the system RRD graphs.
-rwxr-xr-xusr/local/www/status_rrd_graph.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index 6e577c1..e1ee2b2 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -358,9 +358,9 @@ function get_dates($curperiod, $graph) {
switch($curcat) {
case "system":
- $optioncf = str_replace($search, $replace, $optionc[1]);
- echo "<option value=\"$optioncf\"";
- $prettyprint = ucwords(str_replace($search, $replace, $optioncf));
+ $optionc = str_replace($search, $replace, $optionc[1]);
+ echo "<option value=\"$optionc\"";
+ $prettyprint = ucwords(str_replace($search, $replace, $optionc));
break;
default:
/* Deduce a interface if possible and use the description */
OpenPOWER on IntegriCloud