mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/14426] Fixed undefined offset error
PHPBB3-14426
This commit is contained in:
parent
9dad16c5a6
commit
2505aaa9d6
1 changed files with 5 additions and 0 deletions
|
@ -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]);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue