From 0722188ea6d6c1eb30500a540c49adf0b5d25eb8 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 3 Oct 2021 12:36:17 +0000 Subject: make sure we have a sender here --- Zotlabs/Zot6/Zot6Handler.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zotlabs/Zot6') 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) { -- cgit v1.2.3