From: Matthias Schmidt Date: Sun, 20 Mar 2016 13:10:49 +0000 (+0100) Subject: Use INNER JOIN instead of LEFT JOIN X-Git-Tag: 3.0.0_Beta_1~1995 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c971d56e23433870935b020059631079afb300f;p=GitHub%2FWoltLab%2FWCF.git Use INNER JOIN instead of LEFT JOIN --- diff --git a/wcfsetup/install/files/lib/system/user/notification/object/type/TMultiRecipientModerationQueueCommentUserNotificationObjectType.class.php b/wcfsetup/install/files/lib/system/user/notification/object/type/TMultiRecipientModerationQueueCommentUserNotificationObjectType.class.php index 0891a2971f..9500f58918 100644 --- a/wcfsetup/install/files/lib/system/user/notification/object/type/TMultiRecipientModerationQueueCommentUserNotificationObjectType.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/object/type/TMultiRecipientModerationQueueCommentUserNotificationObjectType.class.php @@ -52,7 +52,7 @@ trait TMultiRecipientModerationQueueCommentUserNotificationObjectType { ( SELECT DISTINCT comment_response.userID FROM wcf".WCF_N."_comment_response comment_response - LEFT JOIN wcf".WCF_N."_comment comment + INNER JOIN wcf".WCF_N."_comment comment ON (comment.commentID = comment_response.commentID) WHERE comment.objectID = ? AND comment.objectTypeID = ?