{if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))}
· <a class="mainMenu" href="clients.php">{$i18n.menu.clients}</a>
{/if}
- {if $user->exists() && $user->isPluginEnabled('wk') && ($user->can('do_work') || $user->can('bid_on_work') || $user->can('manage_work'))}
+ {if $user->isPluginEnabled('wk') && ($user->can('do_work') || $user->can('bid_on_work') || $user->can('manage_work')) && $user->exists()}
· <a class="mainMenu" href="work.php">{$i18n.title.work}</a>
{/if}
{if $user->can('export_data')}