From d733fcfa688d507f7b360cde1b53c8c26bf5d600 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 17 Jul 2024 09:47:29 +0200 Subject: [PATCH] Use concat for `$this->sqlSelects` instead of overwriting it --- .../lib/data/conversation/ConversationParticipantList.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lib/data/conversation/ConversationParticipantList.class.php b/files/lib/data/conversation/ConversationParticipantList.class.php index a9de865..560334a 100644 --- a/files/lib/data/conversation/ConversationParticipantList.class.php +++ b/files/lib/data/conversation/ConversationParticipantList.class.php @@ -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 -- 2.20.1