]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365697: email_in.pl is case-sensitive for products due to Bugzilla::User->can_ent...
authorlpsolit%gmail.com <>
Thu, 3 Jul 2008 03:46:28 +0000 (03:46 +0000)
committerlpsolit%gmail.com <>
Thu, 3 Jul 2008 03:46:28 +0000 (03:46 +0000)
Bugzilla/User.pm

index 003337fe413c8e0fce6da9832dff75a70f4b1d7b..5a448434b88fc71714c0e8fe0be7d459707271f1 100644 (file)
@@ -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;