fixed undefined variable in UserOnlineList::isVisibleUser()
authormutec <mysterycode@mysterycode.de>
Sat, 5 Sep 2020 21:44:50 +0000 (23:44 +0200)
committermutec <mysterycode@mysterycode.de>
Sat, 5 Sep 2020 21:44:50 +0000 (23:44 +0200)
wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php

index af400413a804837367149a1948cc07027ed41db2..3852d932a3ef64fdda2813a70da1c0ee69a2b19a 100644 (file)
@@ -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;
                        }
                }