From: Michael Date: Tue, 11 Sep 2018 08:04:14 +0000 (+0000) Subject: And more notices ... X-Git-Tag: 2018.09~1^2~19^2 X-Git-Url: https://reisub.nsupdate.info/git/?p=friendica.git%2F.git;a=commitdiff_plain;h=f566db52d3b915871fb7c639130daca1746d3eaa And more notices ... --- diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index 20ee77a07c..2939f69e55 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -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; }