aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-10-20 11:15:06 +0200
committerMario Vavti <mario@mariovavti.com>2022-10-20 11:15:06 +0200
commit53931017b99c6fc77fc7632747e51b06a89b2287 (patch)
tree26357decc1d3a76471863b3f58a0a0455d637e33 /Zotlabs/Lib/Libzot.php
parente9ca17cec14c5a702cc7d656e5206a3c086dd550 (diff)
downloadvolse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.gz
volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.bz2
volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 77b481c25..ee551f6b8 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -2017,6 +2017,10 @@ class Libzot {
$arr = Activity::decode_note($AS);
+ if (!$arr) {
+ continue;
+ }
+
if ($r) {
$arr['author_xchan'] = $r['hubloc_hash'];
}