aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/functions_phpbb20.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-28 18:21:08 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-28 18:21:08 +0000
commit648de4354a02c0b48d1e823c6d0196720586cb73 (patch)
tree78019d086cf6f24eed419d7c9823494945d601f9 /phpBB/install/convertors/functions_phpbb20.php
parentf9ea21a0836301bc21b8f1288695767cd15543ab (diff)
downloadforums-648de4354a02c0b48d1e823c6d0196720586cb73.tar
forums-648de4354a02c0b48d1e823c6d0196720586cb73.tar.gz
forums-648de4354a02c0b48d1e823c6d0196720586cb73.tar.bz2
forums-648de4354a02c0b48d1e823c6d0196720586cb73.tar.xz
forums-648de4354a02c0b48d1e823c6d0196720586cb73.zip
#12731
#12791 git-svn-id: file:///svn/phpbb/trunk@7806 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 9b5e236b6d..443855403b 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -1439,6 +1439,16 @@ function phpbb_avatar_type($type)
return 0;
}
+
+/**
+* Just undos the replacing of '<' and '>'
+*/
+function phpbb_smilie_html_decode($code)
+{
+ $code = str_replace('&lt;', '<', $code);
+ return str_replace('&gt;', '>', $code);
+}
+
/**
* Transfer avatars, copying the image if it was uploaded
*/