Fix Fatal error in Protocol\OStatus (#5450)
This commit is contained in:
parent
0a519f5001
commit
3500e50be9
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class OStatus
|
||||||
*
|
*
|
||||||
* @return boolean Could the XML be processed?
|
* @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) {
|
if ($initialize) {
|
||||||
self::$itemlist = [];
|
self::$itemlist = [];
|
||||||
|
|
Loading…
Reference in a new issue