summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-24 09:43:40 +0100
committerterry%mozilla.org <>2000-03-24 09:43:40 +0100
commite06270f5df3ea81ff13d1f11492303ce2554a9c8 (patch)
tree62bb3e6ec469d6e68e962b83339e3cf680f746f7
parent4aa03da5994e4e138734f518ab3f85471a6031c8 (diff)
downloadbugzilla-e06270f5df3ea81ff13d1f11492303ce2554a9c8.tar.gz
bugzilla-e06270f5df3ea81ff13d1f11492303ce2554a9c8.tar.xz
Wasn't working right if usetargetmilestone was off.
-rw-r--r--globals.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 7f4a536da..c870082c6 100644
--- a/globals.pl
+++ b/globals.pl
@@ -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");