mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-29 01:51:00 +01:00
fix digest preview not working on mysql because of a quoted LIMIT argument
This commit is contained in:
parent
5db6939dc9
commit
46b77fc6b7
@ -132,8 +132,8 @@ class Digest
|
|||||||
AND unread = true
|
AND unread = true
|
||||||
AND score >= 0
|
AND score >= 0
|
||||||
ORDER BY ttrss_feed_categories.title, ttrss_feeds.title, score DESC, date_updated DESC
|
ORDER BY ttrss_feed_categories.title, ttrss_feeds.title, score DESC, date_updated DESC
|
||||||
LIMIT :limit");
|
LIMIT " . (int)$limit);
|
||||||
$sth->execute([':user_id' => $user_id, ':limit' => $limit]);
|
$sth->execute([':user_id' => $user_id]);
|
||||||
|
|
||||||
$headlines_count = 0;
|
$headlines_count = 0;
|
||||||
$headlines = array();
|
$headlines = array();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user