From 0ce44681395c0a6ef5d8a54caa8aca73728b3b25 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Tue, 15 Mar 2005 13:20:47 +0000 Subject: Bug 285534: bugs.qa_contact should allow NULL Patch By Max Kanat-Alexander r=joel, a=justdave --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 62719de56..6c444a013 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -372,7 +372,7 @@ sub qa_contact () { my ($self) = @_; return $self->{'qa_contact'} if exists $self->{'qa_contact'}; - if (Param('useqacontact') && $self->{'qa_contact_id'} > 0) { + if (Param('useqacontact') && $self->{'qa_contact_id'}) { $self->{'qa_contact'} = new Bugzilla::User($self->{'qa_contact_id'}); } else { # XXX - This is somewhat inconsistent with the assignee/reporter -- cgit v1.2.3-24-g4f1b