作者 邓超

x

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