]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Notifications cleared for a whole thread in case of one mark seen
[friendica.git] / src / Protocol / Feed.php
index 751a0f1e90a985ac9e257dd6d26556d6a7c3b5b9..c235b317222e2989865d04be88e3b881d6ef2154 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * @file src/Protocol/Feed.php
- * @brief Imports RSS/RDF/Atom feeds
+ * Imports RSS/RDF/Atom feeds
  *
  */
 namespace Friendica\Protocol;
@@ -19,12 +19,12 @@ use Friendica\Util\ParseUrl;
 use Friendica\Util\XML;
 
 /**
- * @brief This class contain functions to import feeds
+ * This class contain functions to import feeds
  *
  */
 class Feed {
        /**
-        * @brief Read a RSS/RDF/Atom feed and create an item entry for it
+        * Read a RSS/RDF/Atom feed and create an item entry for it
         *
         * @param string $xml      The feed data
         * @param array  $importer The user record of the importer
@@ -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 {