summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-21 08:26:03 +0300
committerAndrew Dolgov <[email protected]>2018-12-21 08:26:03 +0300
commit7867f3efa49841cf459b21ff7e7c4dd067b8f3c8 (patch)
tree1ae543fbabdbb7701c001265f8d9c678c37f167b /classes/digest.php
parent053c3efc8c3b007ff9e7a298c181bd8903500bbc (diff)
prepare_headlines_digest: do not use PDO constants by reference
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php4
1 files 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;