summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 2c1a96b..71fd34f 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -638,7 +638,7 @@ sub target_menu($$$$;$){
};
if ($filter){
- if (($menu and $menu =~ /$filter/) or ($title and $title =~ /$filter/)){
+ if (($menu and $menu =~ /$filter/i) or ($title and $title =~ /$filter/i)){
push @matches, ["$path$key$suffix",$menu,$class];
};
push @matches, target_menu($tree->{$key}, $open, "$path$key.",$filter, $suffix);