1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00
git-svn-id: file:///svn/phpbb/trunk@7745 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-06-10 16:13:43 +00:00
parent afb7f26ccc
commit eff4e04a4e
2 changed files with 2 additions and 1 deletions

View File

@@ -690,7 +690,7 @@ class bbcode_firstpass extends bbcode
if ($tok == ']')
{
if ($buffer == '/quote' && sizeof($close_tags))
if ($buffer == '/quote' && sizeof($close_tags) && substr($out, -1, 1) == '[')
{
// we have found a closing tag
$out .= array_pop($close_tags) . ']';