diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-10-20 11:15:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-10-20 11:15:06 +0200 |
commit | 53931017b99c6fc77fc7632747e51b06a89b2287 (patch) | |
tree | 26357decc1d3a76471863b3f58a0a0455d637e33 /Zotlabs/Lib/Activity.php | |
parent | e9ca17cec14c5a702cc7d656e5206a3c086dd550 (diff) | |
download | volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.gz volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.tar.bz2 volse-hubzilla-53931017b99c6fc77fc7632747e51b06a89b2287.zip |
fix php warnings
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 633f18235..d80394c7b 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -121,7 +121,7 @@ class Activity { $y = json_decode($x['body'], true); logger('returned: ' . json_encode($y, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), LOGGER_DEBUG); - if (ActivityStreams::is_an_actor($y['type'])) { + if (isset($y['type']) && ActivityStreams::is_an_actor($y['type'])) { XConfig::Set($y['id'], 'system', 'actor_record', $y); } |