From: Michael Date: Sun, 25 Jul 2021 20:39:03 +0000 (+0000) Subject: Forgotten variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1539d76fda1ca1fc0eab05dbf5389b1040f1c227;p=friendica.git Forgotten variable --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index a4502b6460..2f19a0101f 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1744,7 +1744,7 @@ class BBCode $text = preg_replace("/\[vimeo\]https?:\/\/vimeo.com\/([0-9]+)(.*?)\[\/vimeo\]/ism", '[vimeo]$1[/vimeo]', $text); if ($try_oembed) { - $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", '', $text); + $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", '', $text); } else { $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", 'https://vimeo.com/$1', $text);