diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-10-10 16:26:11 +0200 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-10-10 16:33:40 +0200 |
commit | 8eb9ce50b08a9905c449109edcde98c8a4d108e0 (patch) | |
tree | 800cba633e3f572717c23e2f42186ef806c43871 /phpBB/viewonline.php | |
parent | def21f27a2c4f619ca5c051da5c3a4fb19b73074 (diff) | |
download | forums-8eb9ce50b08a9905c449109edcde98c8a4d108e0.tar forums-8eb9ce50b08a9905c449109edcde98c8a4d108e0.tar.gz forums-8eb9ce50b08a9905c449109edcde98c8a4d108e0.tar.bz2 forums-8eb9ce50b08a9905c449109edcde98c8a4d108e0.tar.xz forums-8eb9ce50b08a9905c449109edcde98c8a4d108e0.zip |
[ticket/14200] Allow hidden users to see himself on viewonline
PHPBB3-14200
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 583e297682..87848f4485 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -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>'; |