X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentStorage.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentStorage.php;h=2bcda91d003b3635bd093eba40c4ce2cf5d44088;hp=d164d8ad9e9987a3ef286cb9ac1dab1804147007;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/comment/src/CommentStorage.php b/web/core/modules/comment/src/CommentStorage.php index d164d8ad9..2bcda91d0 100644 --- a/web/core/modules/comment/src/CommentStorage.php +++ b/web/core/modules/comment/src/CommentStorage.php @@ -324,7 +324,7 @@ class CommentStorage extends SqlContentEntityStorage implements CommentStorageIn * {@inheritdoc} */ public function getUnapprovedCount() { - return $this->database->select('comment_field_data', 'c') + return $this->database->select('comment_field_data', 'c') ->condition('status', CommentInterface::NOT_PUBLISHED, '=') ->condition('default_langcode', 1) ->countQuery()