mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
I was told I also had to commit something today ;-)
Hexadecimal should be in double quotes. git-svn-id: file:///svn/phpbb/trunk@5348 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1595f7a8d3
commit
f80bf5bf1e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function set_var(&$result, $var, $type, $multibyte = false)
|
|||
|
||||
if ($type == 'string')
|
||||
{
|
||||
$result = trim(htmlspecialchars(str_replace(array("\r\n", "\r", '\xFF'), array("\n", "\n", ' '), $result)));
|
||||
$result = trim(htmlspecialchars(str_replace(array("\r\n", "\r", "\xFF"), array("\n", "\n", ' '), $result)));
|
||||
$result = (STRIP) ? stripslashes($result) : $result;
|
||||
if ($multibyte)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue