filters: fix limit/offset for test dialog
This commit is contained in:
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…
Reference in New Issue