aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-10-03 03:59:16 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-10-03 03:59:16 +0000
commit71c30b8157a41d64f60754fcb11922b53ee82235 (patch)
tree79c46405971d0febe1894474d2dce859e78ba0e7 /phpBB/includes/functions_display.php
parentc4d8c23357fd871daeac4056984bb46cc30781bc (diff)
downloadforums-71c30b8157a41d64f60754fcb11922b53ee82235.tar
forums-71c30b8157a41d64f60754fcb11922b53ee82235.tar.gz
forums-71c30b8157a41d64f60754fcb11922b53ee82235.tar.bz2
forums-71c30b8157a41d64f60754fcb11922b53ee82235.tar.xz
forums-71c30b8157a41d64f60754fcb11922b53ee82235.zip
#4226
git-svn-id: file:///svn/phpbb/trunk@6434 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 825b92cae1..6b8b40049f 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -971,7 +971,7 @@ function display_custom_bbcodes()
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",
'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2),
'BBCODE_TAG' => $row['bbcode_tag'],
- 'BBCODE_HELPLINE' => $row['bbcode_helpline'])
+ 'BBCODE_HELPLINE' => str_replace(array('&amp;', '&quot;', '&#039;', '&lt;', '&gt;'), array('\&', '\"', '\\\'', '<', '>'), $row['bbcode_helpline']))
);
$i++;