aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-11-19 16:44:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-11-19 16:44:30 +0000
commitc698a2571a9da98d3cb77852220f46149066ac90 (patch)
tree1a8732352035826a56452ac442c458328f83f0a8 /phpBB/includes/message_parser.php
parenta4d0eba7814d633ee3b4a7f0d9bc47854c5845a5 (diff)
downloadforums-c698a2571a9da98d3cb77852220f46149066ac90.tar
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.gz
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.bz2
forums-c698a2571a9da98d3cb77852220f46149066ac90.tar.xz
forums-c698a2571a9da98d3cb77852220f46149066ac90.zip
further updates
git-svn-id: file:///svn/phpbb/trunk@8248 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index f7ae685e95..acc4547039 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -716,7 +716,7 @@ class bbcode_firstpass extends bbcode
if ($tok == ']')
{
- if ($buffer == '/quote' && sizeof($close_tags) && substr($out, -1, 1) == '[')
+ if (strtolower($buffer) == '/quote' && sizeof($close_tags) && substr($out, -1, 1) == '[')
{
// we have found a closing tag
$out .= array_pop($close_tags) . ']';
@@ -814,7 +814,7 @@ class bbcode_firstpass extends bbcode
if ($tok == '[')
{
// Search the text for the next tok... if an ending quote comes first, then change tok to []
- $pos1 = strpos($in, '[/quote');
+ $pos1 = stripos($in, '[/quote');
// If the token ] comes first, we change it to ]
$pos2 = strpos($in, ']');
// If the token [ comes first, we change it to [