]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GContact.php
Merge pull request #7372 from nupplaphil/task/simplify_config
[friendica.git] / src / Model / GContact.php
index 0fae0da9d9bc02fa801e6317dd1481aab39407c3..6ffa0b2e7d0feaac0b87d2c7c36de59f41db9fa7 100644 (file)
@@ -924,7 +924,7 @@ class GContact
                }
 
                // These fields are having different names but the same content
-               $gcontact['server_url'] = $contact['baseurl'];
+               $gcontact['server_url'] = $contact['baseurl'] ?? ''; // "baseurl" can be null, "server_url" not
                $gcontact['nsfw'] = $contact['sensitive'];
                $gcontact['hide'] = $contact['unsearchable'];
                $gcontact['archived'] = $contact['archive'];