正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -357,7 +357,7 @@ class MailListV2 extends Base { | @@ -357,7 +357,7 @@ class MailListV2 extends Base { | ||
357 | unset($where['folder_id']); | 357 | unset($where['folder_id']); |
358 | $where['email_id'] = $emails; | 358 | $where['email_id'] = $emails; |
359 | unset($where['is_hots']); | 359 | unset($where['is_hots']); |
360 | - $flaggedCount = db()->cache($this->cache)->count("select count(*) from `lists` where " . dbWhere($where).' group by `udate`'); | 360 | + $flaggedCount = db()->cache($this->cache)->count("SELECT COUNT(*) FROM (select `id` from `lists` where " . dbWhere($where).' group by `udate`) as c'); |
361 | } | 361 | } |
362 | 362 | ||
363 | $data = []; | 363 | $data = []; |
-
请 注册 或 登录 后发表评论