X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FItem.php;h=f7dda6c65f4030c24de79e24e645009a90ae3e1b;hb=8bb33dccd1d945c849c7006ee56a73fc9404323c;hp=d8e7cecc3c23a18dce69f8536ee6bd47cb399515;hpb=b9bb525fe91c176ada2323c2d628291a27594d59;p=friendica.git diff --git a/src/Content/Item.php b/src/Content/Item.php index d8e7cecc3c..f7dda6c65f 100644 --- a/src/Content/Item.php +++ b/src/Content/Item.php @@ -670,7 +670,7 @@ class Item * * @param array $item * @param bool $add_media true = Media is added to the body - * @param bool $for_display true = The share block is used for display puposes, false = used for connectors, transport to other systems, ... + * @param bool $for_display true = The share block is used for display purposes, false = used for connectors, transport to other systems, ... * @return string */ public function createSharedBlockByArray(array $item, bool $add_media = false, bool $for_display = false): string @@ -678,7 +678,7 @@ class Item if ($item['network'] == Protocol::FEED) { return PageInfo::getFooterFromUrl($item['plink']); } elseif (!in_array($item['network'] ?? '', Protocol::FEDERATED) && !$for_display) { - $item['guid'] = ''; + $item['guid'] = ''; $item['uri'] = ''; }