From: jocuri%softhome.net <> Date: Fri, 7 Nov 2003 05:55:25 +0000 (+0000) Subject: Bug 155119: reassigning bugs to a product with no components gives 'browser' error... X-Git-Tag: bugzilla-2.17.6~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea2e6bed5b9550a3e6e6959f06869a549ee0f43;p=thirdparty%2Fbugzilla.git Bug 155119: reassigning bugs to a product with no components gives 'browser' error; patch by Chuck Duvall ; r=bbaetz; a=justdave. --- diff --git a/globals.pl b/globals.pl index fd9595fbce..f420ea319c 100644 --- a/globals.pl +++ b/globals.pl @@ -195,7 +195,7 @@ sub GenerateVersionTable { while (@line = FetchSQLData()) { my ($p, $d, $votesperuser, $dis, $u) = (@line); $::proddesc{$p} = $d; - if (!$dis) { + if (!$dis && scalar($::components{$p})) { push @::enterable_products, $p; } if ($dotargetmilestone) {