]> git.mxchange.org Git - friendica.git/commitdiff
Wrong variable
authorMichael <heluecht@pirati.ca>
Sat, 24 Dec 2022 08:09:23 +0000 (08:09 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 24 Dec 2022 08:09:23 +0000 (08:09 +0000)
src/Protocol/ActivityPub/Processor.php

index 76d050bd293d98ecf4633df7dbeee5ebda7e54fe..25c09c9cb57e5b56a6b3c5ead808d90850482e03 100644 (file)
@@ -1838,7 +1838,7 @@ class Processor
                }
 
                $reporter_id = Contact::getIdForURL($activity['actor']);
-               if (empty($account_id)) {
+               if (empty($reporter_id)) {
                        Logger::info('Unknown actor', ['activity' => $activity]);
                        Queue::remove($activity);
                        return;