summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-10-22 15:00:52 +0200
committerbugreport%peshkin.net <>2002-10-22 15:00:52 +0200
commit1bbdc386bdb1a32e8277dec182004c9acb682d27 (patch)
tree08fef812c70b2707252a549cf2db93a91be8c5d6
parent0b0c160c7da8390734ace9c9ff69a5b42a2db8cd (diff)
downloadbugzilla-1bbdc386bdb1a32e8277dec182004c9acb682d27.tar.gz
bugzilla-1bbdc386bdb1a32e8277dec182004c9acb682d27.tar.xz
Bugzilla Bug 175625 Timetracking columns are computed even if not displayed
Patch by jeff.hedlund r=dkl,joel
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index f5a7b65f1..74015bc2a 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -449,7 +449,7 @@ if (!UserInGroup(Param("timetrackinggroup"))) {
my @selectcolumns = ("id");
# remaining and actual_time are required for precentage_complete calculation:
-if (lsearch(\@displaycolumns, "percentage_complete")) {
+if (lsearch(\@displaycolumns, "percentage_complete") >= 0) {
push (@selectcolumns, "remaining_time");
push (@selectcolumns, "actual_time");
}