fixed usage not-exists property

This commit is contained in:
Viacheslav Sychov 2014-08-15 16:56:20 +03:00
parent 766db0ad3a
commit 13c7fe2d7d

View File

@ -239,7 +239,7 @@ class Message
if (isset($headers->bcc))
$this->bcc = $this->processAddressObject($headers->bcc);
$this->from = $this->processAddressObject($headers->from);
$this->from = isset($headers->from) ? $this->processAddressObject($headers->from) : array('');
$this->replyTo = isset($headers->reply_to) ? $this->processAddressObject($headers->reply_to) : $this->from;
/* Finally load the structure itself */