mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-19 19:42:59 -04:00
Quick fix: forgotten PDO values (#2546)
From https://github.com/FreshRSS/FreshRSS/pull/2522
This commit is contained in:
committed by
GitHub
parent
ef00513a81
commit
7ae4e9f159
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user