Fix blanking out of FileIds and backwards compatability issue with v3 (#5950)

This commit is contained in:
Joram Wilander
2017-04-04 15:17:47 -04:00
committed by Christopher Speller
parent 1fa3f2351c
commit 97de1d0982
4 changed files with 41 additions and 21 deletions

View File

@@ -84,7 +84,7 @@ func updatePost(c *Context, w http.ResponseWriter, r *http.Request) {
post.UserId = c.Session.UserId
rpost, err := app.UpdatePost(post)
rpost, err := app.UpdatePost(post, true)
if err != nil {
c.Err = err
return