正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -215,16 +215,16 @@ class MailList extends Base { | @@ -215,16 +215,16 @@ class MailList extends Base { | ||
215 | $where['fob_hot_mail|folder'] = 's'; | 215 | $where['fob_hot_mail|folder'] = 's'; |
216 | $sCount = db()->count($sql.dbWhere($where)." and `lists_id` > 0"); | 216 | $sCount = db()->count($sql.dbWhere($where)." and `lists_id` > 0"); |
217 | 217 | ||
218 | - unset($where['folder']); | 218 | + unset($where['fob_hot_mail|folder']); |
219 | 219 | ||
220 | $sql = $sql." ISNULL(`lists_id`) and "; | 220 | $sql = $sql." ISNULL(`lists_id`) and "; |
221 | $where['lists|folder_id'] = $this->getFolderId('发件箱'); | 221 | $where['lists|folder_id'] = $this->getFolderId('发件箱'); |
222 | $faCount = db()->count($sql.dbWhere($where)); | 222 | $faCount = db()->count($sql.dbWhere($where)); |
223 | // 垃圾箱 | 223 | // 垃圾箱 |
224 | - $where['folder_id'] = $this->getFolderId('垃圾箱'); | 224 | + $where['lists|folder_id'] = $this->getFolderId('垃圾箱'); |
225 | $lajiCount = db()->count($sql.dbWhere($where)); | 225 | $lajiCount = db()->count($sql.dbWhere($where)); |
226 | // 收件箱 | 226 | // 收件箱 |
227 | - $where['folder_id'] = $this->getFolderId('收件箱'); | 227 | + $where['lists|folder_id'] = $this->getFolderId('收件箱'); |
228 | $shouCount = db()->count($sql.dbWhere($where)); | 228 | $shouCount = db()->count($sql.dbWhere($where)); |
229 | // 未读 | 229 | // 未读 |
230 | $where['seen'] = 0; | 230 | $where['seen'] = 0; |
-
请 注册 或 登录 后发表评论