Fix fatal errors caused by PR 8019

This commit is contained in:
Michael 2019-12-30 01:17:16 +00:00
parent 03038e7a3b
commit 74f4637ff3
6 changed files with 6 additions and 6 deletions

View file

@ -466,7 +466,7 @@ class Feed {
// Distributed items should have a well formatted URI.
// Additionally we have to avoid conflicts with identical URI between imported feeds and these items.
if ($notify) {
$item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHostname()());
$item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHostname());
unset($item['uri']);
unset($item['parent-uri']);