Commit e06270f5 authored by terry%mozilla.org's avatar terry%mozilla.org

Wasn't working right if usetargetmilestone was off.

parent 4aa03da5
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment