From 2d799f2c114bbd540a6b2f260e512ad5fcf1db5c Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 6 Dec 2015 19:59:46 -0800 Subject: remove duplicated code --- Zotlabs/Zot/Receiver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Zot') diff --git a/Zotlabs/Zot/Receiver.php b/Zotlabs/Zot/Receiver.php index 21573dd7f..b4d5d5ef6 100644 --- a/Zotlabs/Zot/Receiver.php +++ b/Zotlabs/Zot/Receiver.php @@ -36,7 +36,7 @@ class Receiver { $this->messagetype = $this->data['type']; } if(! $this->messagetype) - $error = true; + $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); -- cgit v1.2.3