aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-11 19:38:37 +0000
committerMario <mario@mariovavti.com>2023-03-11 19:38:37 +0000
commit641b1c2e1b5be0d5b7b94ea6566238baa830ebe4 (patch)
tree1d2b63c8ee00ec5b324d36db370a8293c2b1db54 /Zotlabs/Lib
parentf031707563a6233d5959d9c3669ff652f085bec9 (diff)
downloadvolse-hubzilla-641b1c2e1b5be0d5b7b94ea6566238baa830ebe4.tar.gz
volse-hubzilla-641b1c2e1b5be0d5b7b94ea6566238baa830ebe4.tar.bz2
volse-hubzilla-641b1c2e1b5be0d5b7b94ea6566238baa830ebe4.zip
fix php error
Diffstat (limited to 'Zotlabs/Lib')
-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 f22b475be..93d8a39c0 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1366,7 +1366,7 @@ class Libzot {
return false;
}
$x = self::find_parent($env, $act);
- if ($x === $act->id || $x === $act->obj['id']) {
+ if ($x === $act->id || (is_array($act->obj) && array_key_exists('id', $act->obj) && $x === $act->obj['id'])) {
return true;
}
}