]> git.mxchange.org Git - friendica.git/commitdiff
API: Corrected wrong variable name
authorMichael Vogel <icarus@dabo.de>
Sat, 14 Jun 2014 23:48:35 +0000 (01:48 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 14 Jun 2014 23:48:35 +0000 (01:48 +0200)
include/api.php

index e94c689fb33bd2bc915b590d467d5cacde5195f9..e934c5556b45b9a9c2945052376e8feb06e04081 100644 (file)
                                        '[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);