From: Marcel Werk Date: Sun, 3 Sep 2017 17:36:31 +0000 (+0200) Subject: Added missing visibility check in user online list X-Git-Tag: 3.1.0_Alpha_3~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16f8764b9d76d8c310eeab5872a5fc3260caa780;p=GitHub%2FWoltLab%2FWCF.git Added missing visibility check in user online list Closes #2408 --- diff --git a/wcfsetup/install/files/lib/data/user/online/UserOnline.class.php b/wcfsetup/install/files/lib/data/user/online/UserOnline.class.php index d610184dab..c14588f5f8 100644 --- a/wcfsetup/install/files/lib/data/user/online/UserOnline.class.php +++ b/wcfsetup/install/files/lib/data/user/online/UserOnline.class.php @@ -72,7 +72,7 @@ class UserOnline extends UserProfile { $this->location = $page->getHandler()->getOnlineLocation($page, $this); return true; } - else if ($page->isAccessible()) { + else if ($page->isVisible() && $page->isAccessible()) { $title = $page->getTitle(); if (!empty($title)) { if ($page->pageType != 'system') {