diff options
author | mkanat%kerio.com <> | 2005-03-18 13:21:27 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-18 13:21:27 +0100 |
commit | 0b990337deb4528ad6a956d3c3d37be80151d06e (patch) | |
tree | da60960e3489ac5415fe14fe6a890bac25676678 /Bugzilla/Template.pm | |
parent | 675c4bb9d83bdf1916eb0bcb61a973c6f4b69a73 (diff) | |
download | bugzilla-0b990337deb4528ad6a956d3c3d37be80151d06e.tar.gz bugzilla-0b990337deb4528ad6a956d3c3d37be80151d06e.tar.xz |
Bug 256513: Fix usage of grep (/$value/, @array);
Patch By Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=mkanat, a=justdave
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3e37ed5e7..29ed2924c 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -117,7 +117,7 @@ sub getTemplateIncludePath () { # 'en-uk' etc. but not the otherway round. (This is unfortunally # not very clearly stated in those RFC; see comment just over 14.5 # in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4) - if(my @found = grep /^$lang(-.+)?$/i, @languages) { + if(my @found = grep /^\Q$lang\E(-.+)?$/i, @languages) { push (@usedlanguages, @found); } } |