diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2008-02-27 15:21:23 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2008-02-27 15:21:23 +0000 |
| commit | 2a3eb724a84120e1d89e56536dcd1f1f5e20a408 (patch) | |
| tree | 5e7f0f5ef11d65daffe4e514ec5949ea59fa184a /phpBB/includes/functions_convert.php | |
| parent | 30b24d476c3e010d9b2fc282e89a6fd8d8bdd6fa (diff) | |
| download | forums-2a3eb724a84120e1d89e56536dcd1f1f5e20a408.tar forums-2a3eb724a84120e1d89e56536dcd1f1f5e20a408.tar.gz forums-2a3eb724a84120e1d89e56536dcd1f1f5e20a408.tar.bz2 forums-2a3eb724a84120e1d89e56536dcd1f1f5e20a408.tar.xz forums-2a3eb724a84120e1d89e56536dcd1f1f5e20a408.zip | |
cross-ci
git-svn-id: file:///svn/phpbb/trunk@8411 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 159d6e935e..6fd7e5b221 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); |
