1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 19:20:23 +02:00

[ticket/6466] Support form reset and do not loose role upon resubmit

PHPBB3-6466
This commit is contained in:
Marc Alexander
2015-05-30 11:20:04 +02:00
parent 2e46bef2ec
commit 44b8dafb23
3 changed files with 31 additions and 5 deletions

View File

@@ -50,7 +50,7 @@
{% endfor %}
</ul>
</div>
<input type="hidden" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]" />
<input type="hidden" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]"{% if S_ROLE_ID %}value="{{ S_ROLE_ID }}"{% endif %} />
</div>
</dd>
{% else %}