From 4ec48253bacf016ede18dd6d08662804266b4747 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 16 Nov 2011 10:47:10 -0500 Subject: Check uppercase strings --- usr/local/www/status_rrd_graph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www') 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'])) { -- cgit v1.1