This commit is contained in:
mr
2026-02-05 14:54:41 +01:00
parent 5798e16263
commit e32ba1e37a
3 changed files with 8 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ func (ao *AbstractObject) UpToDate(user string, peer string, create bool) {
ao.UpdateDate = time.Now()
ao.UpdaterID = peer
ao.UserUpdaterID = user
if create {
if create && ao.CreatorID != "" {
ao.CreationDate = time.Now()
ao.CreatorID = peer
ao.UserCreatorID = user