Fixed broken join in UserOnlineList
authorMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 15:32:16 +0000 (17:32 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 15:32:22 +0000 (17:32 +0200)
wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php

index 1346ff1d4d9d00ad48f9baab67c6ecbb84965654..3f123bc8f77b3b3ddd41173aca220acebe623eb4 100644 (file)
@@ -51,7 +51,8 @@ class UsersOnlineList extends SessionList {
                
                $this->sqlSelects .= "user_avatar.*, user_option_value.*, user_group.userOnlineMarking, user_table.*";
                
-               $this->sqlConditionJoins .= $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = session.userID)";
+               $this->sqlConditionJoins .= " LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = session.userID)";
+               $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)";