aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2008-04-20 05:16:42 +0000
committerDavid M <davidmj@users.sourceforge.net>2008-04-20 05:16:42 +0000
commit29eb7129987e129877529144816f32704eb724f0 (patch)
tree1e57a1f644cf04ebcbe5f7c6d192a1e0e103468c
parent3613ddf523f6e555e8095f1d0f995fa44a99da6f (diff)
downloadforums-29eb7129987e129877529144816f32704eb724f0.tar
forums-29eb7129987e129877529144816f32704eb724f0.tar.gz
forums-29eb7129987e129877529144816f32704eb724f0.tar.bz2
forums-29eb7129987e129877529144816f32704eb724f0.tar.xz
forums-29eb7129987e129877529144816f32704eb724f0.zip
#21885
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8510 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/utf/utf_tools.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 35b6d45e8d..bdfe15fa87 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -91,6 +91,7 @@
<li>[Fix] Moved topics should not count towards the number of topics in a forum (Bug #14648 / thanks to Schumi for his patch)</li>
<li>[Fix] Properly check for invalid characters in MySQL DB prefixes during install (Bug #18775)</li>
<li>[Change] Generalize load check (Bug #21255 / thanks to Xipher)</li>
+ <li>[Change] Make utf8_htmlspecialchars not pass its argument by reference (Bug #21885)</li>
</ul>
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index b30f28aac9..8098176837 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -1840,7 +1840,7 @@ function utf8_clean_string($text)
/**
* A wrapper for htmlspecialchars($value, ENT_COMPAT, 'UTF-8')
*/
-function utf8_htmlspecialchars(&$value)
+function utf8_htmlspecialchars($value)
{
return htmlspecialchars($value, ENT_COMPAT, 'UTF-8');
}