summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show.xml.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-10 17:31:47 +0100
committerlpsolit%gmail.com <>2009-11-10 17:31:47 +0100
commit2f804027b44c5790d4547f3161bff28266150bef (patch)
treea5d9fff8ab4b48d71bea0157bfa3f856fc437b7c /template/en/default/bug/show.xml.tmpl
parentf7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (diff)
downloadbugzilla-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 'template/en/default/bug/show.xml.tmpl')
-rw-r--r--template/en/default/bug/show.xml.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index f4ad0ceda..31e56d299 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -71,7 +71,7 @@
<commentid>[% c.id FILTER xml %]</commentid>
<who name="[% c.author.name FILTER xml %]">[% c.author.email FILTER email FILTER xml %]</who>
<bug_when>[% c.creation_ts FILTER time("%Y-%m-%d %T %z") FILTER xml %]</bug_when>
- [% IF user.in_group(Param('timetrackinggroup')) && (c.work_time - 0 != 0) %]
+ [% IF user.is_timetracker && (c.work_time - 0 != 0) %]
<work_time>[% PROCESS formattimeunit time_unit = c.work_time FILTER xml %]</work_time>
[% END %]
<thetext>[% c.body_full FILTER xml %]</thetext>