Fix Fatal error in Protocol\OStatus (#5450)

This commit is contained in:
Hypolite Petovan 2018-07-22 12:52:38 -04:00 committed by GitHub
parent 0a519f5001
commit 3500e50be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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 = [];