From aeb75494086a98101cdf22ba3dc6767cb03939a5 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Tue, 22 Jan 2008 15:46:41 +0000 Subject: ignore case when searching --- lib/Smokeping.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b