1
0
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:
Zoddo
2015-10-10 16:26:11 +02:00
parent def21f27a2
commit 8eb9ce50b0
2 changed files with 2 additions and 2 deletions

View File

@@ -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>';