summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2003-11-07 06:55:25 +0100
committerjocuri%softhome.net <>2003-11-07 06:55:25 +0100
commit5ea2e6bed5b9550a3e6e6959f06869a549ee0f43 (patch)
tree51a060dba260a253a5cefa7fd0a811af80239446 /globals.pl
parent5fd8a15e92aa4632af32d2720565a89647b1db99 (diff)
downloadbugzilla-5ea2e6bed5b9550a3e6e6959f06869a549ee0f43.tar.gz
bugzilla-5ea2e6bed5b9550a3e6e6959f06869a549ee0f43.tar.xz
Bug 155119: reassigning bugs to a product with no components gives 'browser' error; patch by Chuck Duvall <caduvall@glue.umd.edu>; r=bbaetz; a=justdave.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index fd9595fbc..f420ea319 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) {