From: Michael Date: Sat, 27 Jan 2018 23:17:37 +0000 (+0000) Subject: OEmbed function was called with the wrong class name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c2a9036145f41a22461e004c9ac45384db872417;p=friendica.git OEmbed function was called with the wrong class name --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 8493e41b69..7568cd716e 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -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; }