]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/PortableContact.php
Fix spaces in Cache\Memcachedriver
[friendica.git] / src / Protocol / PortableContact.php
index 20ee77a07cbdf5a0ec11d8081897c2801f2ac23c..2939f69e55c2cbe42727cd76e7b41952df811bda 100644 (file)
@@ -1157,9 +1157,9 @@ class PortableContact
 
                                if (isset($data['version'])) {
                                        $platform = "Mastodon";
-                                       $version = $data['version'];
-                                       $site_name = $data['title'];
-                                       $info = $data['description'];
+                                       $version = defaults($data, 'version', '');
+                                       $site_name = defaults($data, 'title', '');
+                                       $info = defaults($data, 'description', '');
                                        $network = Protocol::OSTATUS;
                                }