diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-20 13:24:23 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-20 13:24:23 +0000 |
commit | b48d7492a207f1d0ba4cd1435f189cf9e1c54301 (patch) | |
tree | 8e91fffd9ac1555d39c44a15a2a1ff00e961d487 /phpBB/includes/functions_user.php | |
parent | 0b5852208840ee41d7f883d58cd1887b2da46539 (diff) | |
download | forums-b48d7492a207f1d0ba4cd1435f189cf9e1c54301.tar forums-b48d7492a207f1d0ba4cd1435f189cf9e1c54301.tar.gz forums-b48d7492a207f1d0ba4cd1435f189cf9e1c54301.tar.bz2 forums-b48d7492a207f1d0ba4cd1435f189cf9e1c54301.tar.xz forums-b48d7492a207f1d0ba4cd1435f189cf9e1c54301.zip |
Enable view limiting functions ... Ashe, not sure if this is compatible with your thinking for bbcode but it seems the "logical" way to handle disabling of bbcode/flash in this manner. Fixed issue with automatic url handling of local links
git-svn-id: file:///svn/phpbb/trunk@4028 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index db518d3918..5806003e5b 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -138,7 +138,7 @@ class ucp extends user case 'string': // Cleanup data, remove excess spaces, run entites - $valid_data[$var_name] = htmlentities(strtr(trim(preg_replace('#\s{2,}#s', ' ', (string) $data[$var_name])), array_flip(get_html_translation_table(HTML_ENTITIES)))); + $valid_data[$var_name] = htmlentities(trim(preg_replace('#\s{2,}#s', ' ', strtr((string) $data[$var_name], array_flip(get_html_translation_table(HTML_ENTITIES)))))); // How should we check this data? if (!is_array($var_limits)) |