1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

php bb additional check

This commit is contained in:
secretr
2010-10-05 08:29:21 +00:00
parent f47b36c34b
commit ab940b89ff

View File

@@ -1,4 +1,6 @@
global $pref;
if(!$postID) { return ''; }
if($pref['php_bbcode'] == e_UC_NOBODY) return '';
if($postID == 'admin' || check_class($pref['php_bbcode'], '', $postID))
{
$search = array("&quot;", "&#039;", "&#036;", '<br />', E_NL, "-&gt;");