]> git.mxchange.org Git - friendica.git/commitdiff
OEmbed function was called with the wrong class name
authorMichael <heluecht@pirati.ca>
Sat, 27 Jan 2018 23:17:37 +0000 (23:17 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 27 Jan 2018 23:17:37 +0000 (23:17 +0000)
src/Content/Text/BBCode.php

index 8493e41b6900114cae2f60e1db474679b8d6f0c7..7568cd716e53d0b8dbcd684afd5be6ed767035db 100644 (file)
@@ -12,6 +12,7 @@ use Friendica\Core\PConfig;
 use Friendica\Core\System;
 use Friendica\Object\Image;
 use Friendica\Util\ParseUrl;
+use Friendica\Content\OEmbed;
 
 require_once "include/bbcode.php";
 require_once "include/html2plain.php";
@@ -510,7 +511,7 @@ class BBCode
                                } else {
                                        $scaled = $mtch[1];
                                }
-                               $i = self::fetchURL($scaled);
+                               $i = OEmbed::fetchURL($scaled);
                                if (! $i) {
                                        return $srctext;
                                }