fix bbcode event reshare timezone issue

(cherry picked from commit 79bcc157bf8f0c67a8ee41ae9c53a9dec969f8d1)
This commit is contained in:
Mario Vavti
2019-10-04 07:18:19 +00:00
committed by Mario
parent 58b77e3427
commit 1fbc8739b9
2 changed files with 7 additions and 0 deletions

View File

@@ -1346,6 +1346,7 @@ function bbcode($Text, $options = []) {
$Text = preg_replace("/\[event\-finish\](.*?)\[\/event\-finish\]/ism",'',$Text);
$Text = preg_replace("/\[event\-id\](.*?)\[\/event\-id\]/ism",'',$Text);
$Text = preg_replace("/\[event\-location\](.*?)\[\/event\-location\]/ism",'',$Text);
$Text = preg_replace("/\[event\-timezone\](.*?)\[\/event\-timezone\]/ism",'',$Text);
$Text = preg_replace("/\[event\-adjust\](.*?)\[\/event\-adjust\]/ism",'',$Text);
$Text = str_replace("\0",'$',$Text);