From 3500e50be9f2f9979b073041e4a3d0624e5bf2f0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Jul 2018 12:52:38 -0400 Subject: [PATCH] Fix Fatal error in Protocol\OStatus (#5450) --- 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 f30add32b..c7c609f3b 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -303,7 +303,7 @@ class OStatus * * @return boolean Could the XML be processed? */ - private static function process($xml, array $importer, array &$contact, &$hub, $stored = false, $initialize = true) + private static function process($xml, array $importer, array &$contact = null, &$hub, $stored = false, $initialize = true) { if ($initialize) { self::$itemlist = [];