Fix another Fatal error in Protocol\OStatus (#5451)
* Fix Fatal error in Protocol\OStatus * Fix another Fatal error in Protocol\OStatus
This commit is contained in:
parent
7d47152564
commit
d6ccba79e0
|
@ -52,7 +52,7 @@ class OStatus
|
||||||
*
|
*
|
||||||
* @return array Array of author related entries for the item
|
* @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["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);
|
$author["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);
|
||||||
|
|
Loading…
Reference in a new issue