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