作者 邓超

x

@@ -137,7 +137,7 @@ class Home extends Base { @@ -137,7 +137,7 @@ class Home extends Base {
137 // 最后的时间 137 // 最后的时间
138 $maxudate = db()->value( 138 $maxudate = db()->value(
139 sprintf( 139 sprintf(
140 - "select max(`udate`) from `%s` where `email_id` = %d and `folder_id` = %d limit 1", 140 + "select `udate` from `%s` where `email_id` = %d and `folder_id` = %d order by `udate` desc limit 1",
141 listsSql::$table, 141 listsSql::$table,
142 $email['id'], 142 $email['id'],
143 $folder['id'] 143 $folder['id']