<tr>
<td valign="top">
<table border="0">
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
<tr>
- <td align="right">{$i18n.label.client} {if in_array('cm', explode(',', $user->plugins))}(*){/if}:</td>
+ <td align="right">{$i18n.label.client} {if $user->isPluginEnabled('cm')}(*){/if}:</td>
<td>{$forms.expenseItemForm.client.control}</td>
</tr>
{/if}
</td>
</tr>
</table>
-{$forms.expenseItemForm.close}
\ No newline at end of file
+{$forms.expenseItemForm.close}