summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-11-16 10:46:53 -0500
committerScott Ullrich <sullrich@gmail.com>2011-11-16 10:46:53 -0500
commit90b3c01c061e86c9f24777c93e9fc81a6d9ef004 (patch)
tree61b46cd9a477ba8952a6ef450afe587c725c199a /usr
parent9870b4a22a5f24f6de53688cbf87b127acce87f2 (diff)
downloadpfsense-90b3c01c061e86c9f24777c93e9fc81a6d9ef004.zip
pfsense-90b3c01c061e86c9f24777c93e9fc81a6d9ef004.tar.gz
Check uppercase strings
Diffstat (limited to 'usr')
-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 357db46..9c06a18 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