Browse Source

Fix an error and a notice

pull/8057/head
Michael 1 year ago
parent
commit
8878b3864f
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      src/Model/GServer.php
  2. +1
    -1
      src/Protocol/Feed.php

+ 1
- 0
src/Model/GServer.php 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;


+ 1
- 1
src/Protocol/Feed.php 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 {


Loading…
Cancel
Save