From d6ccba79e0d80f7d5cced13e8f4d237607ba09ba Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Jul 2018 12:57:33 -0400 Subject: [PATCH] Fix another Fatal error in Protocol\OStatus (#5451) * Fix Fatal error in Protocol\OStatus * Fix another Fatal error in Protocol\OStatus --- src/Protocol/OStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5