Update src/Content/Item.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2023-07-09 21:18:36 +02:00 committed by GitHub
parent 4f62ab6168
commit f991b553ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -678,7 +678,7 @@ class Item
if ($item['network'] == Protocol::FEED) { if ($item['network'] == Protocol::FEED) {
return PageInfo::getFooterFromUrl($item['plink']); return PageInfo::getFooterFromUrl($item['plink']);
} elseif (!in_array($item['network'] ?? '', Protocol::FEDERATED) && !$for_display) { } elseif (!in_array($item['network'] ?? '', Protocol::FEDERATED) && !$for_display) {
$item['guid'] = ''; $item['guid'] = '';
$item['uri'] = ''; $item['uri'] = '';
} }