From 609e6881e9124c65c900dee7d58770d056fa5282 Mon Sep 17 00:00:00 2001 From: mutec Date: Sat, 5 Sep 2020 23:44:50 +0200 Subject: [PATCH] fixed undefined variable in UserOnlineList::isVisibleUser() --- .../files/lib/data/user/online/UsersOnlineList.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1