TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: IchBinâ„¢ on January 15, 2009, 03:11:22 PM
The logout button doesn't show in the reborn theme menu. As you can see below the code has a bang in it, which means its checking if the user is actually logged out, instead of logged in. :)
// logout button - just for members
if(!$context['user']['is_logged'])
$context['menubox'][]=array(
'title' => $txt[108],
'link' => $scripturl.'?action=logout;sesc='. $context['session_id'],
'chosen' => 'logout',
'memberonly' => true,
'guestonly' => false,
'permission' => '',
);