]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is...
authorjocuri%softhome.net <>
Sun, 5 Dec 2004 22:24:41 +0000 (22:24 +0000)
committerjocuri%softhome.net <>
Sun, 5 Dec 2004 22:24:41 +0000 (22:24 +0000)
colchange.cgi

index e5c15ba65e5f72f66f00bcddae1a1ab366fb2e98..cb0627e52b583b0291a309e1b925a492960e3988 100755 (executable)
@@ -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");
 }