Index: branches/5.2.x/core/kernel/db/dbitem.php =================================================================== diff -u -N -r14244 -r14572 --- branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 14244) +++ branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 14572) @@ -1,6 +1,6 @@ OriginalFieldValues = $this->FieldValues; $this->setID($id); + $this->UpdateFormattersSubFields(); // used for updating separate virtual date/time fields from DB timestamp (for example) + $this->raiseEvent('OnAfterItemLoad', $id); $this->Loaded = true; @@ -1244,7 +1246,7 @@ public function setModifiedFlag($mode = null) { $main_prefix = $this->Application->GetTopmostPrefix($this->Prefix); - $this->Application->StoreVar($main_prefix . '_modified', '1', !$this->Application->isAdmin); + $this->Application->StoreVar($main_prefix . '_modified', '1', true); // true for optional if ($this->ShouldLogChanges(true)) { $this->LogChanges($main_prefix, $mode);