summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-02-16 20:59:43 +0100
committergerv%gerv.net <>2003-02-16 20:59:43 +0100
commit5a8548ce03181d006f133b349ff8ed6605bb09fa (patch)
treed21a0b28c21756ff45b30c9f7b86b5eae32296cc /Bugzilla
parent550ffb9f7128ff8e4697bbc0dddd1aadb2c8c2d1 (diff)
downloadbugzilla-5a8548ce03181d006f133b349ff8ed6605bb09fa.tar.gz
bugzilla-5a8548ce03181d006f133b349ff8ed6605bb09fa.tar.xz
Bug 186994 - Unable to accept a new bug that has been assigned. Patch by gerv; r=bbaetz, a=justdave.
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index dd91d6f3f..14876dbe3 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -379,9 +379,11 @@ sub user {
|| ($self->{'qa_contact'} && $::userid == $self->{'qa_contact'}{'id'})
|| $::userid == $self->{'assigned_to'}{'id'}
|| &::UserInGroup("editbugs");
- $self->{'user'}->{'canconfirm'} = ($::userid == 0)
- || &::UserInGroup("canconfirm")
- || &::UserInGroup("editbugs");
+ $self->{'user'}->{'canconfirm'} = $::userid == 0
+ || ($self->{'qa_contact'} && $::userid == $self->{'qa_contact'}{'id'})
+ || $::userid == $self->{'assigned_to'}{'id'}
+ || &::UserInGroup("editbugs")
+ || &::UserInGroup("canconfirm");
return $self->{'user'};
}