From c2a9036145f41a22461e004c9ac45384db872417 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 27 Jan 2018 23:17:37 +0000 Subject: [PATCH] OEmbed function was called with the wrong class name --- src/Content/Text/BBCode.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }