From 0e93d8386bef21f2af5647bf13e9ba68156cf7da Mon Sep 17 00:00:00 2001 From: Josh Woody Date: Thu, 1 Jul 2010 17:16:37 -0500 Subject: [ticket/9695] Correct the improper display of user input in mcp_ban.php Correct the improper display of "ban_reason" and "ban_give_reason" in mcp_ban.php PHPBB3-9695 --- phpBB/adm/style/acp_ban.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/adm/style') diff --git a/phpBB/adm/style/acp_ban.html b/phpBB/adm/style/acp_ban.html index 539e8032dd..cf44f4aaa7 100644 --- a/phpBB/adm/style/acp_ban.html +++ b/phpBB/adm/style/acp_ban.html @@ -31,9 +31,9 @@ function display_details(option) { - document.getElementById('acp_unban').unbangivereason.value = ban_give_reason[option]; - document.getElementById('acp_unban').unbanreason.value = ban_reason[option]; - document.getElementById('acp_unban').unbanlength.value = ban_length[option]; + document.getElementById('acp_unban').unbangivereason.innerHTML = ban_give_reason[option]; + document.getElementById('acp_unban').unbanreason.innerHTML = ban_reason[option]; + document.getElementById('acp_unban').unbanlength.innerHTML = ban_length[option]; } // ]]> -- cgit v1.2.1