A free, self-hostable news aggregator…
Quick fix: forgotten PDO values (#2546)
Alexandre Alapetite7ae4e9f159c9
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 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();