missing backslash
This commit is contained in:
parent
71ecb470b6
commit
3c8867a1e8
@ -987,7 +987,7 @@ function bbcode($Text, $options = []) {
|
||||
// this is replaced in prepare_body() which has knowledge of the item location
|
||||
if ($cache) {
|
||||
$Text = str_replace([ '[map]','[/map]' ], [ '','' ], $Text);
|
||||
$Text = preg_replace('/[map=(.*?)\]/ism','$1',$Text);
|
||||
$Text = preg_replace('/\[map=(.*?)\]/ism','$1',$Text);
|
||||
}
|
||||
else {
|
||||
if (strpos($Text,'[/map]') !== false) {
|
||||
|
Reference in New Issue
Block a user