正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -127,7 +127,7 @@ class MailList extends Base { | @@ -127,7 +127,7 @@ class MailList extends Base { | ||
127 | $filed = '`id`,`uid`,`subject`,`from`,`from_name`,`flagged`,`seen`,`udate`,`folder_id`,`is_file`,`description`,`lists`.`email_id`,`to_name`'; | 127 | $filed = '`id`,`uid`,`subject`,`from`,`from_name`,`flagged`,`seen`,`udate`,`folder_id`,`is_file`,`description`,`lists`.`email_id`,`to_name`'; |
128 | 128 | ||
129 | if($extSql){ | 129 | if($extSql){ |
130 | - $sql = "select %s from `lists` left join `fob_hot_mail` on `lists`.`id` = `fob_hot_mail`.`lists_id` where `fob_hot_mail`.`folder` = '{$extSql}' and ".dbWhere($where); | 130 | + $sql = "select %s from `lists` left join `fob_hot_mail` on `lists`.`id` = `fob_hot_mail`.`lists_id` where `fob_hot_mail`.`lists_id` > 0 and `fob_hot_mail`.`folder` = '{$extSql}' and ".dbWhere($where); |
131 | }else{ | 131 | }else{ |
132 | if($folder == '收件箱' || $folder == '发件箱'){ | 132 | if($folder == '收件箱' || $folder == '发件箱'){ |
133 | $sql = "select %s from `lists` left join `fob_hot_mail` on `lists`.`id` = `fob_hot_mail`.`lists_id` where ISNULL(`lists_id`) and ".dbWhere($where); | 133 | $sql = "select %s from `lists` left join `fob_hot_mail` on `lists`.`id` = `fob_hot_mail`.`lists_id` where ISNULL(`lists_id`) and ".dbWhere($where); |
-
请 注册 或 登录 后发表评论