summaryrefslogtreecommitdiffstats
path: root/colchange.cgi
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-05 23:24:10 +0100
committerjocuri%softhome.net <>2004-12-05 23:24:10 +0100
commitae5571559b33b4c8c626198f03c9e85c584dbba0 (patch)
treeffd269cc59b70b0b5e84faa5676432506e0be971 /colchange.cgi
parent768b72850d3f3292506b1ddd1bc7ced794b32883 (diff)
downloadbugzilla-ae5571559b33b4c8c626198f03c9e85c584dbba0.tar.gz
bugzilla-ae5571559b33b4c8c626198f03c9e85c584dbba0.tar.xz
Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is not true; patch by Shane H. W. Travis <travis@sedsystems.ca>, r=jouni, a=justdave.
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/colchange.cgi b/colchange.cgi
index dbaf40eeb..1886b6b07 100755
--- a/colchange.cgi
+++ b/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");
}