aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-26 09:21:01 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-26 09:21:01 +0100
commit0653a2e0a9843fdcb8fd079197e5ada975b2cb05 (patch)
tree8dfc18f61fd1a40d3ed31ec76e397a530fddb714 /Zotlabs/Zot
parentd19dfc87a6c00ebb0434a46664621f0b0585c97b (diff)
parentba2ede0a8f82be98994f129655dbb78d5c024e47 (diff)
downloadvolse-hubzilla-0653a2e0a9843fdcb8fd079197e5ada975b2cb05.tar.gz
volse-hubzilla-0653a2e0a9843fdcb8fd079197e5ada975b2cb05.tar.bz2
volse-hubzilla-0653a2e0a9843fdcb8fd079197e5ada975b2cb05.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r--Zotlabs/Zot/Receiver.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zotlabs/Zot/Receiver.php b/Zotlabs/Zot/Receiver.php
index 238de1332..71d57eb35 100644
--- a/Zotlabs/Zot/Receiver.php
+++ b/Zotlabs/Zot/Receiver.php
@@ -41,9 +41,10 @@ class Receiver {
if(! $this->messagetype)
$this->error = true;
- $this->sender = ((array_key_exists('sender',$this->data)) ? $this->data['sender'] : null);
- $this->recipients = ((array_key_exists('recipients',$this->data)) ? $this->data['recipients'] : null);
-
+ if($this->data) {
+ $this->sender = ((array_key_exists('sender',$this->data)) ? $this->data['sender'] : null);
+ $this->recipients = ((array_key_exists('recipients',$this->data)) ? $this->data['recipients'] : null);
+ }
if($this->sender)
$this->ValidateSender();