DragonByte Tech
Well-known member
- Affected version
- 2.3.5
From what I can tell,
Suggested Fix:
xf_mg_album
:: last_update_date
is never actually updated anywhere. It's not even set on album creation.Suggested Fix:
Diff:
Index: src/addons/XFMG/Entity/Album.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/addons/XFMG/Entity/Album.php b/src/addons/XFMG/Entity/Album.php
--- a/src/addons/XFMG/Entity/Album.php
+++ b/src/addons/XFMG/Entity/Album.php
@@ -927,6 +927,8 @@
$this->view_privacy = 'inherit';
}
}
+
+ $this->last_update_date = \XF::$time;
}
protected function _postSave()