]> git.mxchange.org Git - friendica.git/commitdiff
Fix "Undefined index: protocol"
authorMichael <heluecht@pirati.ca>
Wed, 29 May 2019 04:30:01 +0000 (04:30 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 29 May 2019 04:30:01 +0000 (04:30 +0000)
src/Protocol/Diaspora.php

index 7bf0acbc49852a627d1301fed09dacdf9a988d79..98b0d4d3ded25040de91d757c8e9737ec7a4deb8 100644 (file)
@@ -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),