Fix an error and a notice
This commit is contained in:
parent
c8a322baf0
commit
8878b3864f
|
@ -10,6 +10,7 @@ use DOMDocument;
|
||||||
use DOMXPath;
|
use DOMXPath;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Protocol;
|
use Friendica\Core\Protocol;
|
||||||
|
use Friendica\Core\Worker;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
use Friendica\Module\Register;
|
use Friendica\Module\Register;
|
||||||
use Friendica\Network\CurlResult;
|
use Friendica\Network\CurlResult;
|
||||||
|
|
|
@ -460,7 +460,7 @@ class Feed {
|
||||||
$item["body"] = '[abstract]' . HTML::toBBCode($summary, $basepath) . "[/abstract]\n" . $item["body"];
|
$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)) {
|
if (!empty($tags)) {
|
||||||
$item["tag"] = $tags;
|
$item["tag"] = $tags;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue