]> git.mxchange.org Git - friendica.git/commitdiff
Fix an error and a notice
authorMichael <heluecht@pirati.ca>
Sun, 5 Jan 2020 02:19:02 +0000 (02:19 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Jan 2020 02:19:02 +0000 (02:19 +0000)
src/Model/GServer.php
src/Protocol/Feed.php

index 04488072486d1f5ba822c808d3b9ce89b31282f9..fe5ef6d6f018c353faa3fd7262952fd8388a2478 100644 (file)
@@ -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;
index 751a0f1e90a985ac9e257dd6d26556d6a7c3b5b9..e277f99d9e9a0d6404b91aa23047ee5935aaf960 100644 (file)
@@ -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 {