summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-15 14:20:47 +0100
committermkanat%kerio.com <>2005-03-15 14:20:47 +0100
commit0ce44681395c0a6ef5d8a54caa8aca73728b3b25 (patch)
treee804038f1f134bf7d91da9125e45de3703c59ed0 /Bugzilla/Bug.pm
parent0ab2e4bfd6429efa18c46ad76db69ecfa470e750 (diff)
downloadbugzilla-0ce44681395c0a6ef5d8a54caa8aca73728b3b25.tar.gz
bugzilla-0ce44681395c0a6ef5d8a54caa8aca73728b3b25.tar.xz
Bug 285534: bugs.qa_contact should allow NULL
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=joel, a=justdave
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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