aboutsummaryrefslogtreecommitdiff
path: root/app/Models/CategoryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-03-23 22:31:48 +0100
committerGravatar GitHub <noreply@github.com> 2021-03-23 22:31:48 +0100
commit90a0028d494405bc20c1409a7810246ebdd1bc75 (patch)
treecb62af77ca99e1fd14bbeb01a864cc331d596fd0 /app/Models/CategoryDAO.php
parent780e81a8a0ac041ab5fb89915f1a184e9c0bbb21 (diff)
Fix DB lock bug during refresh (MariaDB) (#3559)
#fix https://github.com/FreshRSS/FreshRSS/issues/3552
Diffstat (limited to 'app/Models/CategoryDAO.php')
-rw-r--r--app/Models/CategoryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/CategoryDAO.php b/app/Models/CategoryDAO.php
index 0a9bd68db..f36532ffd 100644
--- a/app/Models/CategoryDAO.php
+++ b/app/Models/CategoryDAO.php
@@ -148,7 +148,7 @@ SQL;
} else {
$info = $stm == null ? $this->pdo->errorInfo() : $stm->errorInfo();
if ($this->autoUpdateDb($info)) {
- return $this->updateCategory($valuesTmp);
+ return $this->updateCategory($id, $valuesTmp);
}
Minz_Log::error('SQL error updateCategory: ' . json_encode($info));
return false;