diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-23 19:51:53 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-23 19:51:53 -0600 |
commit | 85a4aab6125b7cd79d1c5a697c1f47ce473d9785 (patch) | |
tree | cd0ca621c42f2860a01f6fde8ec88e363ab02238 | |
parent | 59218e2212c318d7531ddeefe3a0dd254dd4d31c (diff) | |
download | pfsense-85a4aab6125b7cd79d1c5a697c1f47ce473d9785.zip pfsense-85a4aab6125b7cd79d1c5a697c1f47ce473d9785.tar.gz |
Fix showing the current graph selection on the system RRD graphs.
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 6 |
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 */ |