From 20ee57801c7002a240e870d9636b740b346ec7cb Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 19 Jan 2022 08:29:44 +0000 Subject: we must check if actor.id is empty(). checking for isset() only could still end up in an empty string and produce unexpected results --- Zotlabs/Lib/Libzot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index e2cbc66e6..f340514f0 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1218,7 +1218,7 @@ class Libzot { if (in_array($env['type'], ['activity', 'response'])) { - if(!isset($AS->actor['id'])) { + if(empty($AS->actor['id'])) { logger('No actor id!'); return; } -- cgit v1.2.3