mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-21 16:10:38 +01:00
Merge pull request #5170 from id-tarzanych/ticket/15600
[ticket/15600] Escaped ban reasons in JavaScript code of mcp_warn.html
This commit is contained in:
commit
407d179702
@ -11,10 +11,10 @@
|
||||
<!-- BEGIN bans -->
|
||||
ban_length['{bans.BAN_ID}'] = '{bans.A_LENGTH}';
|
||||
<!-- IF bans.A_REASON -->
|
||||
ban_reason['{bans.BAN_ID}'] = '{bans.A_REASON}';
|
||||
ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON | e('js') }}';
|
||||
<!-- ENDIF -->
|
||||
<!-- IF bans.A_GIVE_REASON -->
|
||||
ban_give_reason['{bans.BAN_ID}'] = '{bans.A_GIVE_REASON}';
|
||||
ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON | e('js') }}';
|
||||
<!-- ENDIF -->
|
||||
<!-- END bans -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user