From 12136fa5541b56c4595edbfdef6378bd3b60372e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 18 Jul 2016 16:21:11 +0200 Subject: [PATCH] Fixed missing join in UserOnlineList --- .../files/lib/data/user/online/UsersOnlineList.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1cf43827af..1346ff1d4d 100644 --- a/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php +++ b/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php @@ -17,7 +17,7 @@ use wcf\util\StringUtil; * * @method UserOnline current() * @method UserOnline[] getObjects() - * @method UserOnline|null search($objectID) + * @method UserOnline|null search($objectID) * @property UserOnline[] $objects */ class UsersOnlineList extends SessionList { @@ -51,7 +51,7 @@ class UsersOnlineList extends SessionList { $this->sqlSelects .= "user_avatar.*, user_option_value.*, user_group.userOnlineMarking, user_table.*"; - $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = session.userID)"; + $this->sqlConditionJoins .= $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = session.userID)"; $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user_option_value user_option_value ON (user_option_value.userID = user_table.userID)"; $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user_avatar user_avatar ON (user_avatar.avatarID = user_table.avatarID)"; $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user_group user_group ON (user_group.groupID = user_table.userOnlineGroupID)"; -- 2.20.1