From fd38c35efc6ec21055fca7a663fd5a28a3bf1eac Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Thu, 7 Aug 2008 22:36:50 +0000 Subject: [PATCH] Bug 449663: Code error thrown when resolving bug as duplicate of a bug the reporter cannot see - Patch by David Lawrence r/a=LpSolit git-svn-id: svn://10.0.0.236/trunk@253448 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Bug.pm b/mozilla/webtools/bugzilla/Bugzilla/Bug.pm index c549c4ed6be..0119681f8ea 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Bug.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Bug.pm @@ -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');