From: Roland Häder Date: Mon, 20 Jun 2022 18:01:25 +0000 (+0200) Subject: Changes: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0c12e947dd9f5f1db26b4c9eed43319ab364581b;p=friendica.git Changes: - null was 2nd argument's value before, an empty string is basically the same here --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index e884c8b205..15c522040d 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -312,7 +312,7 @@ class Feed $item['uri'] = $guid; // Don't use the GUID value directly but instead use it as a basis for the GUID - $item['guid'] = Item::guidFromUri($guid, parse_url($guid, PHP_URL_HOST) ?? parse_url($item['plink'], PHP_URL_HOST)); + $item['guid'] = Item::guidFromUri($guid, parse_url($guid, PHP_URL_HOST) ?? parse_url($item['plink'], PHP_URL_HOST) ?? ''); } if (empty($item['uri'])) {