X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentStorage.php;h=2bcda91d003b3635bd093eba40c4ce2cf5d44088;hb=refs%2Fheads%2Ft2;hp=d164d8ad9e9987a3ef286cb9ac1dab1804147007;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website 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()