cosmetic
This commit is contained in:
parent
b3f9dd1bce
commit
97b7362842
1 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ class Utils
|
|||
->from($sql->as(dcCore::app()->prefix . dcBlog::POST_TABLE_NAME, 'P'))
|
||||
->columns([
|
||||
$sql->count('*', 'count'),
|
||||
'U.user_id'
|
||||
'U.user_id',
|
||||
])
|
||||
->join(
|
||||
(new JoinStatement())
|
||||
|
@ -120,7 +120,7 @@ class Utils
|
|||
->from($sql->as(dcCore::app()->prefix . dcBlog::COMMENT_TABLE_NAME, 'C'))
|
||||
->columns([
|
||||
$sql->count('*', 'count'),
|
||||
'comment_email'
|
||||
'comment_email',
|
||||
])
|
||||
->where('blog_id = ' . $sql->quote(dcCore::app()->blog->id))
|
||||
->and('P.post_id = C.post_id')
|
||||
|
|
Loading…
Reference in a new issue