Merge pull request #79 from vsychov/master

fixed usage not-exists property
This commit is contained in:
Robert Hafner 2014-09-24 16:57:55 -07:00
commit b406e04899

View File

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