diff --git a/core/modules/comment/src/CommentStorage.php b/core/modules/comment/src/CommentStorage.php index 18f3b64..2604b13 100644 --- a/core/modules/comment/src/CommentStorage.php +++ b/core/modules/comment/src/CommentStorage.php @@ -224,7 +224,7 @@ public function getChildCids(array $comments) { */ public function getCommentingUserIds(EntityInterface $entity) { return $this->database->query('SELECT DISTINCT c.uid FROM {comment_field_data} c WHERE entity_id = :entity_id - AND entity_type=:type + AND entity_type=:entity_type AND default_langcode = 1', array( ':entity_id' => $entity->id(), ':entity_type' => $entity->getEntityTypeId()