Bugfix: Avoid "Class not found" error

This commit is contained in:
Michael 2018-03-08 19:58:35 +00:00
parent 3086666c38
commit c438e47827
5 changed files with 10 additions and 5 deletions

View file

@ -10,6 +10,8 @@ use Friendica\Database\DBM;
use Friendica\Core\System;
use Friendica\Model\Item;
use Friendica\Util\Network;
use Friendica\Content\Text\HTML;
use dba;
use DOMDocument;
use DOMXPath;
@ -362,7 +364,7 @@ class Feed {
if (self::titleIsBody($item["title"], $body)) {
$item["title"] = "";
}
$item["body"] = Friendica\Content\Text\HTML::toBBCode($body, $basepath);
$item["body"] = HTML::toBBCode($body, $basepath);
if (($item["body"] == '') && ($item["title"] != '')) {
$item["body"] = $item["title"];