Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uses correct link for logout button in main menu #7334

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Uses correct link for logout button in main menu
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
  • Loading branch information
Sesquipedalian committed Feb 17, 2022
commit 01d5d5d1bf1a564e2a2ba5b845ae1d7fa7dc226c
2 changes: 1 addition & 1 deletion Sources/Subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -5536,7 +5536,7 @@ function setupMenuContext()
),
'logout' => array(
'title' => $txt['logout'],
'href' => $scripturl . '?action=login' . $context['session_var'] . '=' . $context['session_id'],
'href' => $scripturl . '?action=logout;' . $context['session_var'] . '=' . $context['session_id'],
'show' => !$user_info['is_guest'] && !empty($settings['login_main_menu']),
'sub_buttons' => array(
),
Expand Down