Skip to content

Commit f9b1b72

Browse files
committed
Fix incorrect check whether the active user is the author
1 parent 80c63ae commit f9b1b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/lib/data/conversation/ConversationAction.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ public function getAddParticipantsForm()
924924
'excludedSearchValues' => $this->conversation->getParticipantNames(
925925
false,
926926
true,
927-
$this->conversation == WCF::getUser()->userID
927+
$this->conversation->userID == WCF::getUser()->userID
928928
),
929929
'maxItems' => WCF::getSession()->getPermission('user.conversation.maxParticipants') - $this->conversation->participants,
930930
'canAddGroupParticipants' => WCF::getSession()->getPermission('user.conversation.canAddGroupParticipants'),

0 commit comments

Comments
 (0)