mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 11:10:18 +02:00
[ticket/14200] Allow hidden users to see himself on viewonline
PHPBB3-14200
This commit is contained in:
@@ -187,7 +187,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||
|
||||
if (!$row['session_viewonline'])
|
||||
{
|
||||
$view_online = ($auth->acl_get('u_viewonline')) ? true : false;
|
||||
$view_online = ($auth->acl_get('u_viewonline') || $row['user_id'] === $user->data['user_id']) ? true : false;
|
||||
$logged_hidden_online++;
|
||||
|
||||
$username_full = '<em>' . $username_full . '</em>';
|
||||
|
Reference in New Issue
Block a user