filters: fix limit/offset for test dialog

This commit is contained in:
Andrew Dolgov 2017-12-02 13:54:18 +03:00
parent bf4a79eaa9
commit 248c62a1cc
1 changed files with 62 additions and 62 deletions

View File

@ -129,9 +129,9 @@ class Pref_Filters extends Handler_Protected {
ref_id = ttrss_entries.id AND
($scope_qpart) AND
ttrss_user_entries.owner_uid = ?
ORDER BY date_entered DESC LIMIT ?OFFSET ?");
ORDER BY date_entered DESC LIMIT $limit OFFSET $offset");
$sth->execute([$_SESSION['uid'], $limit, $offset]);;
$sth->execute([$_SESSION['uid']]);
while ($line = $sth->fetch()) {