]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 449663: Code error thrown when resolving bug as duplicate of a bug the reporter...
authorlpsolit%gmail.com <>
Fri, 8 Aug 2008 03:36:50 +0000 (03:36 +0000)
committerlpsolit%gmail.com <>
Fri, 8 Aug 2008 03:36:50 +0000 (03:36 +0000)
Bugzilla/Bug.pm

index 7fb47626b4921d03688ae5db8cda70643ffec1ea..1fb3887f4977263b6b9c85a0da83f31b1159bd5f 100644 (file)
@@ -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');