diff options
author | Mario <mario@mariovavti.com> | 2021-10-03 12:36:17 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-03 12:36:17 +0000 |
commit | 0722188ea6d6c1eb30500a540c49adf0b5d25eb8 (patch) | |
tree | b244fbeb3a164c5d6062aaeb67a3c6cfc0990b60 /Zotlabs | |
parent | d6f81e139aeb52e3068959c41d2ef6ce77e97232 (diff) | |
download | volse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.tar.gz volse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.tar.bz2 volse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.zip |
make sure we have a sender here
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Zot6/Zot6Handler.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Zot6/Zot6Handler.php b/Zotlabs/Zot6/Zot6Handler.php index e910366f6..4dc410f52 100644 --- a/Zotlabs/Zot6/Zot6Handler.php +++ b/Zotlabs/Zot6/Zot6Handler.php @@ -150,6 +150,10 @@ class Zot6Handler implements IHandler { $ret = array('success' => false); + if (! $sender) { + return $ret; + } + if ($recipients) { // basically this means "unfriend" foreach ($recipients as $recip) { |