Hello,
Here is a patch to fix an issue where a reported has the ability to play with
the time tracker.
If not a bug, please ignore. Also, this patch will stop the custom fields from
being displayed
if there are none to start.
PB
--- view.tpl.html.orig Tue May 24 16:07:35 2005
+++ view.tpl.html Tue May 24 16:25:31 2005
@@ -25,8 +25,10 @@
</table>
{else}
{include file="view_form.tpl.html"}
+ {if $custom_fields > 0}
{include file="custom_fields.tpl.html"}
{include file="top_link.tpl.html"}
+ {/if}
{if $has_customer_integration and $issue.iss_customer_id}
{include file="customer/$customer_backend_name/customer_info.tpl.html"}
{include file="top_link.tpl.html"}
@@ -37,7 +39,7 @@
{include file="checkins.tpl.html"}
{include file="top_link.tpl.html"}
{/if}
- {if $current_role >= $roles.reporter and $current_role != $roles.customer}
+ {if $current_role > $roles.reporter and $current_role != $roles.customer}
{include file="time_tracking.tpl.html"}
{include file="top_link.tpl.html"}
{/if}