作者 邓超

x

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