<?php
/**
* @file src/Protocol/Feed.php
- * @brief Imports RSS/RDF/Atom feeds
+ * Imports RSS/RDF/Atom feeds
*
*/
namespace Friendica\Protocol;
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
$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 {