From: Hypolite Petovan Date: Sun, 22 Jul 2018 16:52:38 +0000 (-0400) Subject: Fix Fatal error in Protocol\OStatus (#5450) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3500e50be9f2f9979b073041e4a3d0624e5bf2f0;p=friendica.git Fix Fatal error in Protocol\OStatus (#5450) --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index f30add32b7..c7c609f3b9 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 = [];