aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-03 12:36:17 +0000
committerMario <mario@mariovavti.com>2021-10-03 14:38:59 +0200
commitd8793de629dfe2a671a02fcc5c3bc00b431e8c6d (patch)
tree9a4c0059cd33a3beb6008752192f345b0a091923
parentf45cb38cd3e3811f5e53970c641f596bdfd06960 (diff)
downloadvolse-hubzilla-d8793de629dfe2a671a02fcc5c3bc00b431e8c6d.tar.gz
volse-hubzilla-d8793de629dfe2a671a02fcc5c3bc00b431e8c6d.tar.bz2
volse-hubzilla-d8793de629dfe2a671a02fcc5c3bc00b431e8c6d.zip
make sure we have a sender here
(cherry picked from commit 0722188ea6d6c1eb30500a540c49adf0b5d25eb8)
-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 779944bf0..dd241f2bf 100644
--- a/Zotlabs/Zot6/Zot6Handler.php
+++ b/Zotlabs/Zot6/Zot6Handler.php
@@ -152,6 +152,10 @@ class Zot6Handler implements IHandler {
$ret = array('success' => false);
+ if (! $sender) {
+ return $ret;
+ }
+
if ($recipients) {
// basically this means "unfriend"
foreach ($recipients as $recip) {