]> git.mxchange.org Git - friendica.git/commitdiff
Fix undefined variable in Protocol\OStatus
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:32:35 +0000 (16:32 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:32:35 +0000 (16:32 -0500)
src/Protocol/OStatus.php

index bf1deba772ca15fc412a96c115040b19c4eafd24..757c525f96b81c1c7a8fe3d264fb69f25325a6ca 100644 (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"];