Cosmetic.
authorNik Okuntseff <support@anuko.com>
Wed, 17 Apr 2019 20:21:10 +0000 (20:21 +0000)
committerNik Okuntseff <support@anuko.com>
Wed, 17 Apr 2019 20:21:10 +0000 (20:21 +0000)
WEB-INF/templates/header.tpl

index c830e98..0fa5d70 100644 (file)
     {if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))}
             &middot; <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()}
             &middot; <a class="mainMenu" href="work.php">{$i18n.title.work}</a>
     {/if}
     {if $user->can('export_data')}