From: mutec Date: Sat, 5 Sep 2020 21:44:50 +0000 (+0200) Subject: fixed undefined variable in UserOnlineList::isVisibleUser() X-Git-Tag: 5.3.0_Alpha_1~5^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=609e6881e9124c65c900dee7d58770d056fa5282;p=GitHub%2FWoltLab%2FWCF.git fixed undefined variable in UserOnlineList::isVisibleUser() --- diff --git a/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php b/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php index af400413a8..3852d932a3 100644 --- a/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php +++ b/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php @@ -223,7 +223,7 @@ class UsersOnlineList extends SessionList { case UserProfile::ACCESS_FOLLOWING: /** @noinspection PhpUndefinedMethodInspection */ - if (WCF::getUserProfileHandler()->isFollower($userID)) $data['result'] = true; + if (WCF::getUserProfileHandler()->isFollower($userOnline->userID)) $data['result'] = true; break; } }