From: jocuri%softhome.net <> Date: Sun, 5 Dec 2004 22:24:41 +0000 (+0000) Subject: Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is... X-Git-Tag: bugzilla-2.16.8~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=080266f78d119ad699c0b03a005bd58be7ab77ee;p=thirdparty%2Fbugzilla.git Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is not true; patch by Shane H. W. Travis , r=jouni, a=justdave. --- diff --git a/colchange.cgi b/colchange.cgi index e5c15ba65e..cb0627e52b 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -46,8 +46,11 @@ GetVersionTable(); my @masterlist = ("opendate", "changeddate", "severity", "priority", "platform", "owner", "reporter", "status", "resolution", - "product", "component", "version", "os", "votes"); + "product", "component", "version", "os"); +if (Param("usevotes")) { + push(@masterlist, "votes"); +} if (Param("usetargetmilestone")) { push(@masterlist, "target_milestone"); }