diff options
| author | 2016-11-02 21:31:31 +0100 | |
|---|---|---|
| committer | 2016-11-02 21:31:31 +0100 | |
| commit | cb4da4eb47ab043cf3aea7c9c869fcec897fe7d2 (patch) | |
| tree | ad992c2259c52c181860f32a5cb2e879d97e2ca0 /app/Models/EntryDAO.php | |
| parent | 29e1f048159b7a580bdf1bab184e928f11d104b4 (diff) | |
| parent | 8a410969ddb45ef28589957a0b334e76abf3060c (diff) | |
Merge pull request #1350 from Alkarex/bindParam-bug
Use bindValue instead of bindParam
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
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); |
