Ported fix to #16.

This commit is contained in:
Dominik Picheta 2014-12-30 15:24:17 +00:00
commit 50cced23df

View file

@ -894,7 +894,8 @@ routes:
createTFD()
readIDs()
if edit(c, c.postId):
redirect(c.genThreadUrl(postId = $c.postId))
redirect(c.genThreadUrl(postId = $c.postId,
pageNum = $(c.getPagesInThread+1)))
else:
body = ""
handleError("doedit", "Edit", true)