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() createTFD()
readIDs() readIDs()
if edit(c, c.postId): if edit(c, c.postId):
redirect(c.genThreadUrl(postId = $c.postId)) redirect(c.genThreadUrl(postId = $c.postId,
pageNum = $(c.getPagesInThread+1)))
else: else:
body = "" body = ""
handleError("doedit", "Edit", true) handleError("doedit", "Edit", true)