diff options
author | Serge Skripchuk <tarzanych@gmail.com> | 2018-03-23 19:20:54 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-09 11:08:30 +0200 |
commit | 4a3c00d1c84284c030e7a7a37efc3ada57228726 (patch) | |
tree | e7e7f53d5bbc26beda51fce62bcc66aaef414355 /phpBB/styles/prosilver | |
parent | d9a5c8e9182e0dffdebf09f4db33bd76e9574765 (diff) | |
download | forums-4a3c00d1c84284c030e7a7a37efc3ada57228726.tar forums-4a3c00d1c84284c030e7a7a37efc3ada57228726.tar.gz forums-4a3c00d1c84284c030e7a7a37efc3ada57228726.tar.bz2 forums-4a3c00d1c84284c030e7a7a37efc3ada57228726.tar.xz forums-4a3c00d1c84284c030e7a7a37efc3ada57228726.zip |
[ticket/15600] Escaped ban reasons in JavaScript code of mcp_warn.html
PHPBB3-15600
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_ban.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html index 5b798d9b6c..9475b6aa49 100644 --- a/phpBB/styles/prosilver/template/mcp_ban.html +++ b/phpBB/styles/prosilver/template/mcp_ban.html @@ -13,10 +13,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 --> |