From 7ae4e9f159c9f0678d767dd29baa6cec8f0b04d8 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 29 Sep 2019 23:11:35 +0200 Subject: Quick fix: forgotten PDO values (#2546) From https://github.com/FreshRSS/FreshRSS/pull/2522 --- app/Models/EntryDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAO.php') 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(); -- cgit v1.2.3