<tr>
<td class="systemMenu" height="17" align="center">
<a class="systemMenu" href="logout.php">{$i18n.menu.logout}</a> ·
- {if $user->can('manage_own_settings')}
+ {if $user->exists() && $user->can('manage_own_settings')}
<a class="systemMenu" href="profile_edit.php">{$i18n.menu.profile}</a> ·
{/if}
{if $user->can('manage_basic_settings')}