aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-07-03 03:46:28 +0000
committerlpsolit%gmail.com <>2008-07-03 03:46:28 +0000
commit928c576a4d28a59e6e69a572257fed4f7f913cb2 (patch)
treea0d1072b0df53659096a59aa52c8e63b5a2391bf
parentBug 437003 – Add hook to buglist.cgi to add columns to bug list (diff)
downloadbugzilla-928c576a4d28a59e6e69a572257fed4f7f913cb2.tar.gz
bugzilla-928c576a4d28a59e6e69a572257fed4f7f913cb2.tar.bz2
bugzilla-928c576a4d28a59e6e69a572257fed4f7f913cb2.zip
Bug 365697: email_in.pl is case-sensitive for products due to Bugzilla::User->can_enter_product - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 003337fe4..5a448434b 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -682,7 +682,7 @@ sub can_enter_product {
}
trick_taint($product_name);
my $can_enter =
- grep($_->name eq $product_name, @{$self->get_enterable_products});
+ grep(lc($_->name) eq lc($product_name), @{$self->get_enterable_products});
return 1 if $can_enter;