Use INNER JOIN instead of LEFT JOIN
authorMatthias Schmidt <gravatronics@live.com>
Sun, 20 Mar 2016 13:10:49 +0000 (14:10 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 20 Mar 2016 13:10:49 +0000 (14:10 +0100)
wcfsetup/install/files/lib/system/user/notification/object/type/TMultiRecipientModerationQueueCommentUserNotificationObjectType.class.php

index 0891a2971f2dd43c5de97ecbde9a0665b3893f04..9500f589180a043e2547e41e2dbfde7bf9f5d750 100644 (file)
@@ -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 = ?