Merge pull request #60 from domibi/master

FIX: Message with no subject throw exception.
This commit is contained in:
Robert Hafner 2014-06-02 09:41:35 +02:00
commit 8e742ef80e

View File

@ -201,7 +201,7 @@ class Message
return false; return false;
$this->subject = $messageOverview->subject; $this->subject = isset($messageOverview->subject) ? $messageOverview->subject : null;
$this->date = strtotime($messageOverview->date); $this->date = strtotime($messageOverview->date);
$this->size = $messageOverview->size; $this->size = $messageOverview->size;