diff options
author | Andrew Dolgov <[email protected]> | 2018-12-21 08:26:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-21 08:26:03 +0300 |
commit | 7867f3efa49841cf459b21ff7e7c4dd067b8f3c8 (patch) | |
tree | 1ae543fbabdbb7701c001265f8d9c678c37f167b | |
parent | 053c3efc8c3b007ff9e7a298c181bd8903500bbc (diff) |
prepare_headlines_digest: do not use PDO constants by reference
-rw-r--r-- | classes/digest.php | 4 |
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; |