]> git.mxchange.org Git - friendica.git/commitdiff
Fix Fatal error in Protocol\OStatus (#5450)
authorHypolite Petovan <mrpetovan@eml.cc>
Sun, 22 Jul 2018 16:52:38 +0000 (12:52 -0400)
committerGitHub <noreply@github.com>
Sun, 22 Jul 2018 16:52:38 +0000 (12:52 -0400)
src/Protocol/OStatus.php

index f30add32b7ab701a98b4496d8be38e0e73721ba1..c7c609f3b9b462406dd865f4cd1f3a693a48b5dc 100644 (file)
@@ -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 = [];