aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-10-11 12:02:40 +0200
committerGravatar GitHub <noreply@github.com> 2025-10-11 12:02:40 +0200
commit05515442871808808a5181cb1f4021b3447465d2 (patch)
tree800f2e27f5eb80ad0219cd87b71f8b67d79dc9d2 /app/Models/EntryDAO.php
parent673067a52d44cbfc14327d226f4f1c4ce66f737a (diff)
Fix MySQL autoupdate Last user modified (#8090)
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7886 (Probably wrong merge conflict resolution)
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 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);
}