A free, self-hostable news aggregator…
Fix MySQL autoupdate Last user modified (#8090)
Alexandre Alapetite055154428718
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 707002875..93abc9a29 100644--- a/app/Models/EntryDAO.php+++ b/app/Models/EntryDAO.php@@ -147,7 +147,7 @@ SQL;if (isset($errorInfo[0])) {if ($errorInfo[0] === FreshRSS_DatabaseDAO::ER_BAD_FIELD_ERROR || $errorInfo[0] === FreshRSS_DatabaseDAOPGSQL::UNDEFINED_COLUMN) {$errorLines = explode("\n", $errorInfo[2], 2); // The relevant column name is on the first line, other lines are noise- foreach (['attributes'] as $column) {+ foreach (['attributes', 'lastUserModified'] as $column) {if (str_contains($errorLines[0], $column)) {return $this->addColumn($column);}