aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot6
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-03 12:36:17 +0000
committerMario <mario@mariovavti.com>2021-10-03 12:36:17 +0000
commit0722188ea6d6c1eb30500a540c49adf0b5d25eb8 (patch)
treeb244fbeb3a164c5d6062aaeb67a3c6cfc0990b60 /Zotlabs/Zot6
parentd6f81e139aeb52e3068959c41d2ef6ce77e97232 (diff)
downloadvolse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.tar.gz
volse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.tar.bz2
volse-hubzilla-0722188ea6d6c1eb30500a540c49adf0b5d25eb8.zip
make sure we have a sender here
Diffstat (limited to 'Zotlabs/Zot6')
-rw-r--r--Zotlabs/Zot6/Zot6Handler.php4
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) {