正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -263,7 +263,6 @@ class MailListV2 extends Base { | @@ -263,7 +263,6 @@ class MailListV2 extends Base { | ||
263 | 263 | ||
264 | $sql = "select count(*) from `lists` where "; | 264 | $sql = "select count(*) from `lists` where "; |
265 | 265 | ||
266 | - $where = ['email_id'=>$emails]; | ||
267 | $where['deleted'] = 0; //未删状态 | 266 | $where['deleted'] = 0; //未删状态 |
268 | // 屏蔽哪些邮件 | 267 | // 屏蔽哪些邮件 |
269 | // $where['from.notin'] = $this->from_not_in(); | 268 | // $where['from.notin'] = $this->from_not_in(); |
@@ -339,6 +338,7 @@ class MailListV2 extends Base { | @@ -339,6 +338,7 @@ class MailListV2 extends Base { | ||
339 | if(in_array('flagged',$show_count_filed)) { | 338 | if(in_array('flagged',$show_count_filed)) { |
340 | $where['flagged'] = 1; | 339 | $where['flagged'] = 1; |
341 | unset($where['folder_id']); | 340 | unset($where['folder_id']); |
341 | + $where = ['email_id'=>$emails]; | ||
342 | $flaggedCount = db()->cache($this->cache)->count($sql . dbWhere($where)); | 342 | $flaggedCount = db()->cache($this->cache)->count($sql . dbWhere($where)); |
343 | } | 343 | } |
344 | 344 |
-
请 注册 或 登录 后发表评论