aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot6
diff options
context:
space:
mode:
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) {