From afe94de245cd3d5e421f92ec972adb9f889bf427 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Sun, 5 Dec 2004 14:24:10 +0000 Subject: [PATCH] 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. --- webtools/bugzilla/colchange.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webtools/bugzilla/colchange.cgi b/webtools/bugzilla/colchange.cgi index dbaf40eeb88..1886b6b07d6 100755 --- a/webtools/bugzilla/colchange.cgi +++ b/webtools/bugzilla/colchange.cgi @@ -53,8 +53,11 @@ if (Param("useclassification")) { push(@masterlist, "classification"); } -push(@masterlist, ("product", "component", "version", "op_sys", "votes")); +push(@masterlist, ("product", "component", "version", "op_sys")); +if (Param("usevotes")) { + push (@masterlist, "votes"); +} if (Param("usebugaliases")) { unshift(@masterlist, "alias"); }