]> git.mxchange.org Git - friendica.git/commitdiff
And more notices ...
authorMichael <heluecht@pirati.ca>
Tue, 11 Sep 2018 08:04:14 +0000 (08:04 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 11 Sep 2018 08:04:14 +0000 (08:04 +0000)
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;
                                }