Skip to content

Commit

Permalink
Workaround for duplicates in wcf1_message_embedded_object
Browse files Browse the repository at this point in the history
see #5719
  • Loading branch information
BurntimeX committed Dec 1, 2023
1 parent 7c43eb5 commit 38a9727
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct($objectType)

$this->getConditionBuilder()->add(
'(
SELECT embeddedObjectID
SELECT DISTINCT embeddedObjectID
FROM wcf' . WCF_N . '_message_embedded_object
WHERE messageObjectTypeID = ?
AND messageID = attachment.objectID
Expand Down

0 comments on commit 38a9727

Please sign in to comment.