mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Bugfix: Avoid "Class not found" error
This commit is contained in:
parent
3086666c38
commit
c438e47827
5 changed files with 10 additions and 5 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue