From: Michael Vogel Date: Sat, 14 Jun 2014 23:48:35 +0000 (+0200) Subject: API: Corrected wrong variable name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83935d67971be884b64130a4cba9f94edcd9e165;p=friendica.git API: Corrected wrong variable name --- diff --git a/include/api.php b/include/api.php index e94c689fb3..e934c5556b 100644 --- a/include/api.php +++ b/include/api.php @@ -1653,7 +1653,7 @@ '[url=https://www.youtube.com/watch?v=$1]https://www.youtube.com/watch?v=$1[/url]', $bbcode); $bbcode = preg_replace("/\[youtube\](.*?)\[\/youtube\]/ism",'[url=$1]$1[/url]',$bbcode); - $Text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", + $bbcode = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", '[url=https://vimeo.com/$1]https://vimeo.com/$1[/url]', $bbcode); $bbcode = preg_replace("/\[vimeo\](.*?)\[\/vimeo\]/ism",'[url=$1]$1[/url]',$bbcode);