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