diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-22 04:10:21 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-22 04:10:21 +0200 |
commit | 4acb2424e62cbd64bc92a5dec2cbe1e2b7096157 (patch) | |
tree | 9076b3809846e8fc58ce720e0cd32dc0d3c8ff77 /Bugzilla/User.pm | |
parent | 601bda78fa436e7030ebcefc589d930c99f1373e (diff) | |
download | bugzilla-4acb2424e62cbd64bc92a5dec2cbe1e2b7096157.tar.gz bugzilla-4acb2424e62cbd64bc92a5dec2cbe1e2b7096157.tar.xz |
Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index aa01d93a5..6c7be2241 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -900,7 +900,7 @@ sub can_enter_product { $product && grep($_->name eq $product->name, @{ $self->get_enterable_products }); - return 1 if $can_enter; + return $product if $can_enter; return 0 unless $warn == THROW_ERROR; |