aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-19 08:29:44 +0000
committerMario <mario@mariovavti.com>2022-01-19 08:29:44 +0000
commit20ee57801c7002a240e870d9636b740b346ec7cb (patch)
treecc2ad6de0b84fa389934287b4043fc66452e458a /Zotlabs
parentdce249f7a9201cd13aa4f8762e22e4fe5e407bca (diff)
downloadvolse-hubzilla-20ee57801c7002a240e870d9636b740b346ec7cb.tar.gz
volse-hubzilla-20ee57801c7002a240e870d9636b740b346ec7cb.tar.bz2
volse-hubzilla-20ee57801c7002a240e870d9636b740b346ec7cb.zip
we must check if actor.id is empty(). checking for isset() only could still end up in an empty string and produce unexpected results
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
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;
}