When banning/deleting a post, return to the thread, not the board index (unless deleting the OP)

This commit is contained in:
Michael Walker 2015-05-10 13:22:53 +01:00
parent 649255c9b9
commit 61d9dacdfb
2 changed files with 15 additions and 2 deletions

View file

@ -12,6 +12,9 @@
{% if post and board %}
<input type="hidden" name="delete" value="{% if delete %}1{% else %}0{% endif %}">
{% endif %}
{% if thread %}
<input type="hidden" name="thread" value="{{ thread }}">
{% endif %}
<table>