]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 155119: reassigning bugs to a product with no components gives 'browser' error...
authorjocuri%softhome.net <>
Fri, 7 Nov 2003 05:55:25 +0000 (05:55 +0000)
committerjocuri%softhome.net <>
Fri, 7 Nov 2003 05:55:25 +0000 (05:55 +0000)
globals.pl

index fd9595fbce880fa79bd3adcbdfbbade0bb79d7c9..f420ea319c3ec87338d97ae57589e907a9923a86 100644 (file)
@@ -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) {