diff options
author | lpsolit%gmail.com <> | 2009-11-10 16:31:47 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-11-10 16:31:47 +0000 |
commit | 2f804027b44c5790d4547f3161bff28266150bef (patch) | |
tree | a5d9fff8ab4b48d71bea0157bfa3f856fc437b7c /buglist.cgi | |
parent | f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (diff) | |
download | bugs-2f804027b44c5790d4547f3161bff28266150bef.tar bugs-2f804027b44c5790d4547f3161bff28266150bef.tar.gz bugs-2f804027b44c5790d4547f3161bff28266150bef.tar.bz2 bugs-2f804027b44c5790d4547f3161bff28266150bef.tar.xz bugs-2f804027b44c5790d4547f3161bff28266150bef.zip |
Bug 505039: Use $user->is_timetracker instead of $user->in_group(Bugzilla->params->{'timetrackinggroup'}) - Patch by XqueZme <xquezme@gmail.com> r/a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index a8103a1e0..6b03b123d 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -667,7 +667,7 @@ if (trim($votes) && !grep($_ eq 'votes', @displaycolumns)) { # Remove the timetracking columns if they are not a part of the group # (happens if a user had access to time tracking and it was revoked/disabled) -if (!Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})) { +if (!Bugzilla->user->is_timetracker) { @displaycolumns = grep($_ ne 'estimated_time', @displaycolumns); @displaycolumns = grep($_ ne 'remaining_time', @displaycolumns); @displaycolumns = grep($_ ne 'actual_time', @displaycolumns); |