diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2016-02-27 11:24:02 +0100 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2016-02-27 11:24:02 +0100 |
commit | cf5383fdbe273af6b3858e216b313124fd125cf6 (patch) | |
tree | a220d55b6624c76421a6173aec785958103aa92a /Zotlabs/Zot/Receiver.php | |
parent | 21f2df399d3e21b6322ece16717efe88bcc21621 (diff) | |
parent | 6126070a1d53c3ef4f59c8a0a6160610ef16563c (diff) | |
download | volse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.tar.gz volse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.tar.bz2 volse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'Zotlabs/Zot/Receiver.php')
-rw-r--r-- | Zotlabs/Zot/Receiver.php | 7 |
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(); |