aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-09-29 23:11:35 +0200
committerGravatar GitHub <noreply@github.com> 2019-09-29 23:11:35 +0200
commit7ae4e9f159c9f0678d767dd29baa6cec8f0b04d8 (patch)
tree121e89d4505613893864f129fedf6a8cacdc576c /app/Models/EntryDAO.php
parentef00513a816ae8f902d1ad5b1163ee81a3f26c46 (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.php2
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();