A free, self-hostable news aggregator…
Use bindValue instead of bindParam
Alexandre Alapetite8a410969ddb4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 461949128..4be6d74bd 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,11 @@# Changelog+## 2016-11-02 FreshRSS 1.6.1++* Bug fixing+ * Fix regression introduced in 1.6.0 when refreshing articles with *Mark updated articles as unread* [#1349](https://github.com/FreshRSS/FreshRSS/issues/1349)++## 2016-10-30 FreshRSS 1.6.0* CLIdiff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 4c6a9ea20..58f2c1a79 100644--- a/app/Models/EntryDAO.php+++ b/app/Models/EntryDAO.php@@ -198,7 +198,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {$valuesTmp['lastSeen'] = time();$this->updateEntryPrepared->bindParam(':last_seen', $valuesTmp['lastSeen'], PDO::PARAM_INT);if ($valuesTmp['is_read'] !== null) {- $this->updateEntryPrepared->bindParam(':is_read', $valuesTmp['is_read'] ? 1 : 0, PDO::PARAM_INT);+ $this->updateEntryPrepared->bindValue(':is_read', $valuesTmp['is_read'] ? 1 : 0, PDO::PARAM_INT);}$this->updateEntryPrepared->bindParam(':id_feed', $valuesTmp['id_feed'], PDO::PARAM_INT);$valuesTmp['tags'] = substr($valuesTmp['tags'], 0, 1023);diff --git a/constants.php b/constants.phpindex 08268fdc3..e5ae3ff00 100644--- a/constants.php+++ b/constants.php@@ -1,5 +1,5 @@<?php-define('FRESHRSS_VERSION', '1.6.0');+define('FRESHRSS_VERSION', '1.6.1');define('FRESHRSS_WEBSITE', 'http://freshrss.org');define('FRESHRSS_WIKI', 'http://doc.freshrss.org');