Explorar o código

Quick fix: forgotten PDO values (#2546)

From https://github.com/FreshRSS/FreshRSS/pull/2522
Alexandre Alapetite %!s(int64=6) %!d(string=hai) anos
pai
achega
7ae4e9f159
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/EntryDAO.php

+ 1 - 1
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();