From: Michael Date: Sun, 5 Jan 2020 02:19:02 +0000 (+0000) Subject: Fix an error and a notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8878b3864fb3b809e4a3cb2f339d84607666ae5b;p=friendica.git Fix an error and a notice --- diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 0448807248..fe5ef6d6f0 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -10,6 +10,7 @@ use DOMDocument; use DOMXPath; use Friendica\Core\Config; use Friendica\Core\Protocol; +use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\Module\Register; use Friendica\Network\CurlResult; diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 751a0f1e90..e277f99d9e 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -460,7 +460,7 @@ class Feed { $item["body"] = '[abstract]' . HTML::toBBCode($summary, $basepath) . "[/abstract]\n" . $item["body"]; } - if ($contact["fetch_further_information"] == 3) { + if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] == 3)) { if (!empty($tags)) { $item["tag"] = $tags; } else {