]> git.mxchange.org Git - friendica.git/commitdiff
Changes:
authorRoland Häder <roland@mxchange.org>
Mon, 20 Jun 2022 18:01:25 +0000 (20:01 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 20 Jun 2022 18:01:59 +0000 (20:01 +0200)
- null was 2nd argument's value before, an empty string is basically the same here

src/Protocol/Feed.php

index e884c8b205bccaac9145e4793ac0ab91ccdb9b70..15c522040d636d0b1607b22f02332211e57ef2f1 100644 (file)
@@ -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'])) {