diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-22 13:46:55 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-22 13:46:55 +0000 |
commit | 0de6e24865900ed968c9dabd3d7329a59e6be8b3 (patch) | |
tree | 0e589907989825ca46335cccfa19932602136d7e /phpBB/includes/functions.php | |
parent | 55e848eff835f42b8c81bb122891f51ce372278f (diff) | |
download | forums-0de6e24865900ed968c9dabd3d7329a59e6be8b3.tar forums-0de6e24865900ed968c9dabd3d7329a59e6be8b3.tar.gz forums-0de6e24865900ed968c9dabd3d7329a59e6be8b3.tar.bz2 forums-0de6e24865900ed968c9dabd3d7329a59e6be8b3.tar.xz forums-0de6e24865900ed968c9dabd3d7329a59e6be8b3.zip |
ENT_COMPAT is the default, with ENT_QUOTES a few features will no longer work.
git-svn-id: file:///svn/phpbb/trunk@6519 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 671f20d398..939bcf2356 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -24,7 +24,7 @@ function set_var(&$result, $var, $type, $multibyte = false) if ($type == 'string') { - $result = trim(htmlspecialchars(str_replace(array("\r\n", "\r"), array("\n", "\n"), $result), ENT_QUOTES, 'UTF-8')); + $result = trim(htmlspecialchars(str_replace(array("\r\n", "\r"), array("\n", "\n"), $result), ENT_COMPAT, 'UTF-8')); if (!empty($result)) { |