From d19ff1f8b206c1765c0f85a3bb5dfba45fadd471 Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 4 Jun 2026 09:00:31 +0200 Subject: [PATCH] CreatorID --- models/utils/abstracts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/utils/abstracts.go b/models/utils/abstracts.go index 2599033..22d80a9 100755 --- a/models/utils/abstracts.go +++ b/models/utils/abstracts.go @@ -150,7 +150,7 @@ func (ao *AbstractObject) UpToDate(user string, peer string, create bool) { ao.UpdateDate = time.Now() ao.UpdaterID = peer ao.UserUpdaterID = user - if create && ao.CreatorID != "" { + if create && ao.CreatorID == "" { ao.CreationDate = time.Now() ao.CreatorID = peer ao.UserCreatorID = user