mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-25 20:36:01 +03:00
Merge pull request #60 from domibi/master
FIX: Message with no subject throw exception.
This commit is contained in:
commit
8e742ef80e
@ -201,7 +201,7 @@ class Message
|
||||
|
||||
return false;
|
||||
|
||||
$this->subject = $messageOverview->subject;
|
||||
$this->subject = isset($messageOverview->subject) ? $messageOverview->subject : null;
|
||||
$this->date = strtotime($messageOverview->date);
|
||||
$this->size = $messageOverview->size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user