From: terry%mozilla.org <> Date: Fri, 24 Mar 2000 08:43:40 +0000 (+0000) Subject: Wasn't working right if usetargetmilestone was off. X-Git-Tag: bugzilla-2.12~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06270f5df3ea81ff13d1f11492303ce2554a9c8;p=thirdparty%2Fbugzilla.git Wasn't working right if usetargetmilestone was off. --- diff --git a/globals.pl b/globals.pl index 7f4a536da9..c870082c69 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");