From: Michael Date: Wed, 29 May 2019 04:30:01 +0000 (+0000) Subject: Fix "Undefined index: protocol" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=824d35774b695bd506ea160ce4ea45780b809635;p=friendica.git Fix "Undefined index: protocol" --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 7bf0acbc49..98b0d4d3de 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -144,7 +144,7 @@ class Diaspora */ private static function getRelayContact($server_url) { - $fields = ['batch', 'id', 'name', 'network', 'archive', 'blocked']; + $fields = ['batch', 'id', 'name', 'network', 'protocol', 'archive', 'blocked']; // Fetch the relay contact $condition = ['uid' => 0, 'nurl' => Strings::normaliseLink($server_url),