作者 邓超

x

... ... @@ -54,7 +54,7 @@ class Home extends Base {
$lists = db()->all(
sprintf(
"select `id`,`subject`,`from_name`,`seen`,`udate` from `%s` where `id` > %d and %s order by `id` asc limit %d"
"select `id`,`subject`,`from`,`from_name`,`seen`,`udate` from `%s` where `id` > %d and %s order by `id` asc limit %d"
,listsSql::$table
,$last_id
,dbWhere($where)
... ...