正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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) |
-
请 注册 或 登录 后发表评论