From: jocuri%softhome.net <> Date: Sun, 5 Dec 2004 22:24:27 +0000 (+0000) Subject: Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is... X-Git-Tag: bugzilla-2.18~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af6b75b5622e7d50f3fc66b29a30e5177a020c86;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 0832381f83..261f30a721 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -47,12 +47,15 @@ my $cgi = Bugzilla->cgi; my @masterlist = ("opendate", "changeddate", "bug_severity", "priority", "rep_platform", "assigned_to", "assigned_to_realname", "reporter", "reporter_realname", "bug_status", - "resolution", "product", "component", "version", "op_sys", - "votes"); + "resolution", "product", "component", "version", + "op_sys"); if (Param("usebugaliases")) { unshift(@masterlist, "alias"); } +if (Param("usevotes")) { + push (@masterlist, "votes"); +} if (Param("usetargetmilestone")) { push(@masterlist, "target_milestone"); }