diff options
| author | 2019-09-29 23:11:35 +0200 | |
|---|---|---|
| committer | 2019-09-29 23:11:35 +0200 | |
| commit | 7ae4e9f159c9f0678d767dd29baa6cec8f0b04d8 (patch) | |
| tree | 121e89d4505613893864f129fedf6a8cacdc576c /app/Models/EntryDAO.php | |
| parent | ef00513a816ae8f902d1ad5b1163ee81a3f26c46 (diff) | |
Quick fix: forgotten PDO values (#2546)
From https://github.com/FreshRSS/FreshRSS/pull/2522
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 fbf160041..6e5d00a93 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -466,7 +466,7 @@ SQL; . ' WHERE id=:id'; $stm = $this->pdo->prepare($sql); $stm->bindParam(':id', $id_feed, PDO::PARAM_INT); - if (!($stm && $stm->execute($values))) { + if (!($stm && $stm->execute())) { $info = $stm == null ? array(2 => 'syntax error') : $stm->errorInfo(); Minz_Log::error('SQL error markReadFeed cache: ' . $info[2]); $this->pdo->rollBack(); |
