From: lpsolit%gmail.com <> Date: Fri, 8 Aug 2008 03:36:50 +0000 (+0000) Subject: Bug 449663: Code error thrown when resolving bug as duplicate of a bug the reporter... X-Git-Tag: bugzilla-3.2rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81a00896cc680912f3ad20b584b6432af9125823;p=thirdparty%2Fbugzilla.git Bug 449663: Code error thrown when resolving bug as duplicate of a bug the reporter cannot see - Patch by David Lawrence r/a=LpSolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 7fb47626b4..1fb3887f49 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1154,7 +1154,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');