* Fix Fatal error in Protocol\OStatus
* Fix another Fatal error in Protocol\OStatus
*
* @return array Array of author related entries for the item
*/
- private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, array &$contact, $onlyfetch)
+ private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, array &$contact = null, $onlyfetch)
{
$author = [];
$author["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);