From: Hypolite Petovan Date: Sun, 22 Jul 2018 16:57:33 +0000 (-0400) Subject: Fix another Fatal error in Protocol\OStatus (#5451) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6ccba79e0d80f7d5cced13e8f4d237607ba09ba;p=friendica.git Fix another Fatal error in Protocol\OStatus (#5451) * Fix Fatal error in Protocol\OStatus * Fix another Fatal error in Protocol\OStatus --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index c7c609f3b9..67c3070fe2 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -52,7 +52,7 @@ class OStatus * * @return array Array of author related entries for the item */ - private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, array &$contact, $onlyfetch) + private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, array &$contact = null, $onlyfetch) { $author = []; $author["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);