From 7867f3efa49841cf459b21ff7e7c4dd067b8f3c8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 Dec 2018 08:26:03 +0300 Subject: [PATCH] prepare_headlines_digest: do not use PDO constants by reference --- classes/digest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/digest.php b/classes/digest.php index a61b6dfca..0d2cac77e 100644 --- a/classes/digest.php +++ b/classes/digest.php @@ -141,8 +141,8 @@ class Digest AND score >= 0 ORDER BY ttrss_feed_categories.title, ttrss_feeds.title, score DESC, date_updated DESC LIMIT :limit"); - $sth->bindParam(':user_id', intval($user_id, 10), \PDO::PARAM_INT); - $sth->bindParam(':limit', intval($limit, 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->execute(); $headlines_count = 0;