1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

[ticket/14426] Fixed undefined offset error

PHPBB3-14426
This commit is contained in:
JoshyPHP
2016-04-03 09:22:21 +02:00
committed by Marc Alexander
parent 9dad16c5a6
commit 2505aaa9d6

View File

@@ -226,6 +226,11 @@ class bbcode
), ),
'preg' => array( 'preg' => array(
'#\[quote(?:="(.*?)")?:$uid\]((?!\[quote(?:=".*?")?:$uid\]).)?#is' => function ($match) { '#\[quote(?:="(.*?)")?:$uid\]((?!\[quote(?:=".*?")?:$uid\]).)?#is' => function ($match) {
if (!isset($match[2]))
{
$match[2] = '';
}
return $this->bbcode_second_pass_quote($match[1], $match[2]); return $this->bbcode_second_pass_quote($match[1], $match[2]);
}, },
) )