]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Merge pull request #12802 from nupplaphil/feat/system_url_handling
[friendica.git] / src / Protocol / Feed.php
index f7bc282c1e810ecd6fbe0fd48ab082ebb83daa93..7d778ee582bb2836486147b418d10e291c800b83 100644 (file)
@@ -629,7 +629,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()->getHost());
                                $item['uri']  = Item::newURI($item['guid']);
                                unset($item['plink']);
                                unset($item['thr-parent']);