Fix fatal errors caused by PR 8019
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
@@ -1847,7 +1847,7 @@ class OStatus
|
||||
}
|
||||
|
||||
$item["uri"] = $item['parent-uri'] = $item['thr-parent']
|
||||
= 'tag:' . DI::baseUrl()->getHostname()().
|
||||
= 'tag:' . DI::baseUrl()->getHostname().
|
||||
','.date('Y-m-d').':'.$action.':'.$owner['uid'].
|
||||
':person:'.$connect_id.':'.$item['created'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user