summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-08 05:35:15 +0200
committerlpsolit%gmail.com <>2008-08-08 05:35:15 +0200
commitaca14df0a0daca1f2eb637d400285e3f14add35e (patch)
treeb40d20a672a6604516bb919aeaa9a41084540131 /Bugzilla
parentb6d72360ea168aaa9bcb51ae12569897db3ab34a (diff)
downloadbugzilla-aca14df0a0daca1f2eb637d400285e3f14add35e.tar.gz
bugzilla-aca14df0a0daca1f2eb637d400285e3f14add35e.tar.xz
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
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index c549c4ed6..0119681f8 100644
--- a/Bugzilla/Bug.pm
+++ b/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');