filters: fix limit/offset for test dialog

master
Andrew Dolgov 7 years ago
parent bf4a79eaa9
commit 248c62a1cc

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

Loading…
Cancel
Save