fix bug where attachment manager wouldn't appear due to cached reply data
This commit is contained in:
parent
4e73a6e5b2
commit
71f7f20c2e
|
@ -130,6 +130,7 @@ func CreateReplySubmit(w http.ResponseWriter, r *http.Request, user c.User) c.Ro
|
||||||
return c.LocalErrorJSQ("Failed to add poll to reply", w, r, user, js) // TODO: Might need to be an internal error as it could leave phantom polls?
|
return c.LocalErrorJSQ("Failed to add poll to reply", w, r, user, js) // TODO: Might need to be an internal error as it could leave phantom polls?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
_ = c.Rstore.GetCache().Remove(reply.ID)
|
||||||
|
|
||||||
err = c.Forums.UpdateLastTopic(tid, user.ID, topic.ParentID)
|
err = c.Forums.UpdateLastTopic(tid, user.ID, topic.ParentID)
|
||||||
if err != nil && err != sql.ErrNoRows {
|
if err != nil && err != sql.ErrNoRows {
|
||||||
|
|
Loading…
Reference in New Issue