diff options
author | mkanat%kerio.com <> | 2005-03-10 13:53:51 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-10 13:53:51 +0100 |
commit | 53a6fd9871b67ccd28fd9c9f8a740659afd2759d (patch) | |
tree | d751815e677367e1f3fe19976a940cc949b07776 /Bugzilla | |
parent | 37c937b94d56709a18ec2a8c17199ad4057442a0 (diff) | |
download | bugzilla-53a6fd9871b67ccd28fd9c9f8a740659afd2759d.tar.gz bugzilla-53a6fd9871b67ccd28fd9c9f8a740659afd2759d.tar.xz |
Bug 285541: QA Contacts No Longer Appear in show_bug
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=justdave, a=justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 3f278b72c..2a4375081 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -372,7 +372,7 @@ sub qa_contact () { return $self->{'qa_contact'} if exists $self->{'qa_contact'}; if (Param('useqacontact') && $self->{'qa_contact_id'} > 0) { - $self->{'qa_contact'} = new Bugzilla::User($self->{'qa_contact'}); + $self->{'qa_contact'} = new Bugzilla::User($self->{'qa_contact_id'}); } else { # XXX - This is somewhat inconsistent with the assignee/reporter # methods, which will return an empty User if they get a 0. @@ -512,7 +512,7 @@ sub user { my $canedit = $unknown_privileges || Bugzilla->user->id == $self->{assigned_to_id} || (Param('useqacontact') - && $self->qa_contact + && $self->{'qa_contact_id'} && Bugzilla->user->id == $self->{qa_contact_id}); my $canconfirm = $unknown_privileges || Bugzilla->user->in_group("canconfirm"); |