diff options
author | lpsolit%gmail.com <> | 2009-11-10 17:31:47 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-11-10 17:31:47 +0100 |
commit | 2f804027b44c5790d4547f3161bff28266150bef (patch) | |
tree | a5d9fff8ab4b48d71bea0157bfa3f856fc437b7c /query.cgi | |
parent | f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (diff) | |
download | bugzilla-2f804027b44c5790d4547f3161bff28266150bef.tar.gz bugzilla-2f804027b44c5790d4547f3161bff28266150bef.tar.xz |
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 'query.cgi')
-rwxr-xr-x | query.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -247,7 +247,7 @@ foreach my $val (editable_bug_fields()) { push @chfields, $val; } -if (Bugzilla->user->in_group(Bugzilla->params->{'timetrackinggroup'})) { +if (Bugzilla->user->is_timetracker) { push @chfields, "work_time"; } else { @chfields = grep($_ ne "estimated_time", @chfields); |