From f70956964be5792be296a4e3ec1889a4be2fd475 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 14 Oct 2022 15:23:23 +0000 Subject: fix php warning --- Zotlabs/Lib/Libzot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 01d403c09..2da829ba2 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -2007,7 +2007,7 @@ class Libzot { } } - if ($AS->obj['actor'] && $AS->obj['actor']['id'] && $AS->obj['actor']['id'] !== $AS->actor['id']) { + if (isset($AS->obj['actor']['id']) && $AS->obj['actor']['id'] !== $AS->actor['id']) { $y = import_author_xchan(['url' => $AS->obj['actor']['id']]); if (!$y) { logger('FOF Activity: no object actor'); -- cgit v1.2.3