aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-02 21:42:58 +0100
committerGravatar GitHub <noreply@github.com> 2016-11-02 21:42:58 +0100
commitc3d2496bb3ce665faf4a0f24a4aa2ab300ab56d3 (patch)
treead992c2259c52c181860f32a5cb2e879d97e2ca0 /app/Models/EntryDAO.php
parent1d3e5bdee069434fd65c2717ae8fcce8c54fe81d (diff)
parentcb4da4eb47ab043cf3aea7c9c869fcec897fe7d2 (diff)
Merge pull request #1351 from FreshRSS/dev1.6.1
Dev 1.6.1
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 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);