diff options
author | jocuri%softhome.net <> | 2004-12-05 23:24:10 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-05 23:24:10 +0100 |
commit | ae5571559b33b4c8c626198f03c9e85c584dbba0 (patch) | |
tree | ffd269cc59b70b0b5e84faa5676432506e0be971 /colchange.cgi | |
parent | 768b72850d3f3292506b1ddd1bc7ced794b32883 (diff) | |
download | bugzilla-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-x | colchange.cgi | 5 |
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"); } |