From 2f804027b44c5790d4547f3161bff28266150bef Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Nov 2009 16:31:47 +0000 Subject: Bug 505039: Use $user->is_timetracker instead of $user->in_group(Bugzilla->params->{'timetrackinggroup'}) - Patch by XqueZme r/a=LpSolit --- show_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'show_bug.cgi') diff --git a/show_bug.cgi b/show_bug.cgi index ddb41ffec..64d2e875f 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -109,7 +109,7 @@ if ($cgi->param("field")) { @fieldlist = $cgi->param("field"); } -unless (Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})) { +unless (Bugzilla->user->is_timetracker) { @fieldlist = grep($_ !~ /(^deadline|_time)$/, @fieldlist); } -- cgit v1.2.3-24-g4f1b