Fix undefined variable in Protocol\OStatus

This commit is contained in:
Hypolite Petovan 2017-12-17 16:32:35 -05:00
parent 872190dcb0
commit 98daf58cda
1 changed files with 1 additions and 3 deletions

View File

@ -1024,9 +1024,7 @@ class OStatus
$orig_created = $xpath->query('atom:published/text()', $activityobjects)->item(0)->nodeValue;
$orig_edited = $xpath->query('atom:updated/text()', $activityobjects)->item(0)->nodeValue;
/// @fixme $contact is unavailable here
$orig_contact = $contact;
$orig_author = self::fetchAuthor($xpath, $activityobjects, $importer, $orig_contact, false);
$orig_author = self::fetchAuthor($xpath, $activityobjects, $importer, $dummy, false);
$item["author-name"] = $orig_author["author-name"];
$item["author-link"] = $orig_author["author-link"];