From f80bf5bf1e29eb0f1db339c30b343c83e072bf56 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 17 Dec 2005 22:09:33 +0000 Subject: [PATCH] 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 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 541c8253ad..a453ad9edb 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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) {