Use concat for `$this->sqlSelects` instead of overwriting it
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 17 Jul 2024 07:47:29 +0000 (09:47 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 17 Jul 2024 07:47:29 +0000 (09:47 +0200)
files/lib/data/conversation/ConversationParticipantList.class.php

index a9de865fd9744acf462abed815497a3ab47a1e6b..560334a7dc3f7d54100391cb4636453993c6108c 100644 (file)
@@ -59,7 +59,7 @@ class ConversationParticipantList extends UserProfileList
         if (!empty($this->sqlSelects)) {
             $this->sqlSelects .= ',';
         }
-        $this->sqlSelects = 'conversation_to_user.*';
+        $this->sqlSelects .= 'conversation_to_user.*';
         $this->sqlJoins .= "
             LEFT JOIN   wcf" . WCF_N . "_conversation_to_user conversation_to_user
             ON          conversation_to_user.participantID = user_table.userID