Work in progress switching to ttUser::isPluginEnabled().
[timetracker.git] / WEB-INF / templates / mobile / time.tpl
index 8c11af2..4371be2 100644 (file)
@@ -250,7 +250,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}