Skip to content

Commit

Permalink
Merge pull request #8403 from MegaBrutal/release-2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sesquipedalian authored Jan 17, 2025
2 parents 2275818 + 1993010 commit 60eb9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Profile-View.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function summary($memID)

// Are they hidden?
$context['member']['is_hidden'] = empty($user_profile[$memID]['show_online']);
$context['member']['show_last_login'] = allowedTo('admin_forum') || !$context['member']['is_hidden'];
$context['member']['show_last_login'] = allowedTo('moderate_forum') || !$context['member']['is_hidden'];

if (!empty($modSettings['who_enabled']) && $context['member']['show_last_login'])
{
Expand Down

0 comments on commit 60eb9a7

Please sign in to comment.