1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-25 11:57:42 +02:00

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

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()) {