作者 邓超

同步

@@ -406,15 +406,15 @@ class MailListV2 extends Base { @@ -406,15 +406,15 @@ class MailListV2 extends Base {
406 } 406 }
407 407
408 // 收件箱 408 // 收件箱
409 - if(in_array('replied',$show_count_filed)) { 409 + if(in_array('inbox',$show_count_filed)) {
410 $shouCount = db()->cache($this->cache)->count($sql . dbWhere($where)); 410 $shouCount = db()->cache($this->cache)->count($sql . dbWhere($where));
411 } 411 }
412 412
413 // 收件箱中标记为已回复的邮件 413 // 收件箱中标记为已回复的邮件
414 - if(in_array('replied',$show_count_filed)){  
415 - $where['answered'] = 1; 414 + if(in_array('inbox',$show_count_filed)){
  415 +// $where['answered'] = 1;
416 $repliedCount = db()->cache($this->cache)->count($sql . dbWhere($where)); 416 $repliedCount = db()->cache($this->cache)->count($sql . dbWhere($where));
417 - unset($where['answered']); 417 +// unset($where['answered']);
418 } 418 }
419 419
420 // 未读 420 // 未读