diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-02-13 16:28:37 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-02-13 16:28:37 +0000 |
commit | d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1 (patch) | |
tree | 522d22fa5bfe582f1ad18aabe3df62e8dc71c7da /phpBB/includes/functions_convert.php | |
parent | bd31cb634d545edb0cf17e58962004d6830f3537 (diff) | |
download | forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.gz forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.bz2 forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.xz forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.zip |
Fixing converter bugs.
#21215
#18575
#18435
#16565
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8379 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index ed35be3db7..477dd787a1 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -1282,7 +1282,7 @@ function restore_config($schema) // Most are... if (is_string($config_value)) { - $config_value = utf8_htmlspecialchars($config_value); + $config_value = truncate_string(utf8_htmlspecialchars($config_value), 255, false); } set_config($config_name, $config_value); |