mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 10:51:29 +00:00
prepare_headlines_digest: do not use PDO constants by reference
This commit is contained in:
@@ -141,8 +141,8 @@ class Digest
|
|||||||
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 :limit");
|
||||||
$sth->bindParam(':user_id', intval($user_id, 10), \PDO::PARAM_INT);
|
$sth->bindParam(':user_id', intval($user_id, 10), PDO::PARAM_INT);
|
||||||
$sth->bindParam(':limit', intval($limit, 10), \PDO::PARAM_INT);
|
$sth->bindParam(':limit', intval($limit, 10), PDO::PARAM_INT);
|
||||||
$sth->execute();
|
$sth->execute();
|
||||||
|
|
||||||
$headlines_count = 0;
|
$headlines_count = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user