正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -69,7 +69,7 @@ class HotMail { | @@ -69,7 +69,7 @@ class HotMail { | ||
69 | foreach ($folders as $f){ | 69 | foreach ($folders as $f){ |
70 | if(folderAlias($f['folder']) == $folder){ | 70 | if(folderAlias($f['folder']) == $folder){ |
71 | // 最后记录的id | 71 | // 最后记录的id |
72 | - $last_id = db()->value('select max(`lists_id`) from `fob_hot_mail` where `email_id` = '.$email_id.' limit 1'); | 72 | + $last_id = db()->value('select max(`lists_id`) from `fob_hot_mail` where `email_id` = '.$email_id.' and `folder` = "'.$type.'" limit 1'); |
73 | $last_id = $last_id?$last_id:0; | 73 | $last_id = $last_id?$last_id:0; |
74 | $this->findList(new Data($email_id,$f['id'],$type,$last_id)); | 74 | $this->findList(new Data($email_id,$f['id'],$type,$last_id)); |
75 | } | 75 | } |
-
请 注册 或 登录 后发表评论