mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
- implemented the suggested html_entity_decode function made by david
- fixed string length checking by also decoding entities for the sake of checking - used the new html_entity_decode function git-svn-id: file:///svn/phpbb/trunk@6545 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -189,7 +189,7 @@ class acp_ban
|
||||
$template->assign_block_vars('ban_reason', array(
|
||||
'BAN_ID' => $ban_id,
|
||||
'REASON' => $reason,
|
||||
'A_REASON' => addslashes(html_entity_decode($reason)))
|
||||
'A_REASON' => addslashes(utf8_html_entity_decode($reason)))
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -201,7 +201,7 @@ class acp_ban
|
||||
$template->assign_block_vars('ban_give_reason', array(
|
||||
'BAN_ID' => $ban_id,
|
||||
'REASON' => $reason,
|
||||
'A_REASON' => addslashes(html_entity_decode($reason)))
|
||||
'A_REASON' => addslashes(utf8_html_entity_decode($reason)))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user