Bug 449663: Code error thrown when resolving bug as duplicate of a bug the reporter cannot see - Patch by David Lawrence <dkl@redhat.com> r/a=LpSolit

git-svn-id: svn://10.0.0.236/trunk@253448 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2008-08-07 22:36:50 +00:00
parent 39869a2c68
commit fd38c35efc

View File

@@ -1222,7 +1222,7 @@ sub _check_dup_id {
# What if the reporter currently can't see the new bug? In the browser
# interface, we prompt the user. In other interfaces, we default to
# not adding the user, as the safest option.
elsif (Bugzilla->params->usage_mode == USAGE_MODE_BROWSER) {
elsif (Bugzilla->usage_mode == USAGE_MODE_BROWSER) {
# If we've already confirmed whether the user should be added...
my $cgi = Bugzilla->cgi;
my $add_confirmed = $cgi->param('confirm_add_duplicate');