diff options
Diffstat (limited to 'model/post.go')
-rw-r--r-- | model/post.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/model/post.go b/model/post.go index f8a3032a3..0c035d4e7 100644 --- a/model/post.go +++ b/model/post.go @@ -120,9 +120,7 @@ func (o *Post) PreSave() { o.OriginalId = "" - if o.CreateAt <= 0 { - o.CreateAt = GetMillis() - } + o.CreateAt = GetMillis() o.UpdateAt = o.CreateAt if o.Props == nil { |