Work in progress switching to ttUser::isPluginEnabled().
[timetracker.git] / WEB-INF / templates / mobile / time_edit.tpl
index 729d3ce..2dbd746 100644 (file)
@@ -210,7 +210,7 @@ function get_date() {
   <tr>
        <td valign="top">
     <table border="0">
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
     <tr><td>{$i18n.label.client}:</td></tr>
     <tr><td>{$forms.timeRecordForm.client.control}</td></tr>
 {/if}