summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-11-16 10:47:10 -0500
committerScott Ullrich <sullrich@gmail.com>2011-11-16 10:47:10 -0500
commit4ec48253bacf016ede18dd6d08662804266b4747 (patch)
tree5b55564f89eb413d99c6fbe92cebabd14bad3487 /usr/local/www/status_rrd_graph.php
parent5d7791a208fbb87899f0b6f53f8f3e9dc048be82 (diff)
downloadpfsense-4ec48253bacf016ede18dd6d08662804266b4747.zip
pfsense-4ec48253bacf016ede18dd6d08662804266b4747.tar.gz
Check uppercase strings
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-xusr/local/www/status_rrd_graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index 5b393fe..125abf4 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -165,7 +165,7 @@ $curstyle = "inverse";
if ($_GET['style']) {
foreach($styles as $style)
- if($style == $_GET['style'])
+ if(strtoupper($style) == strtoupper($_GET['style']))
$curstyle = $_GET['style'];
} else {
if(! empty($config['rrd']['style'])) {
OpenPOWER on IntegriCloud