Merge pull request #8057 from annando/notice-error

Fix an error and a notice
This commit is contained in:
Tobias Diekershoff 2020-01-05 07:40:31 +01:00 committed by GitHub
commit 0c9fcdde69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View 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;

View 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 {