summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-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");
}