Commit 1bbdc386 authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bugzilla Bug 175625 Timetracking columns are computed even if not displayed

Patch by jeff.hedlund r=dkl,joel
parent 0b0c160c
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment