1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-08 08:35:31 +02: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:
Nils Adermann 2005-12-17 22:09:33 +00:00
parent 1595f7a8d3
commit f80bf5bf1e

View File

@ -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)
{