]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Wasn't working right if usetargetmilestone was off.
authorterry%mozilla.org <>
Fri, 24 Mar 2000 08:43:40 +0000 (08:43 +0000)
committerterry%mozilla.org <>
Fri, 24 Mar 2000 08:43:40 +0000 (08:43 +0000)
globals.pl

index 7f4a536da985fcec2f6c2ba80c13b2505b1975c0..c870082c6963026bf55b9cd3944ad53c50604c87 100644 (file)
@@ -367,7 +367,11 @@ sub GenerateVersionTable {
         $carray{$c} = 1;
     }
 
-    my $dotargetmilestone = Param("usetargetmilestone");
+    my $dotargetmilestone = 1;  # This used to check the param, but there's
+                                # enough code that wants to pretend we're using
+                                # target milestones, even if they don't get
+                                # shown to the user.  So we cache all the data
+                                # about them anyway.
 
     my $mpart = $dotargetmilestone ? ", milestoneurl" : "";
     SendSQL("select product, description, votesperuser, disallownew$mpart from products");