mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-21 10:46:02 +03:00
check date is null
This commit is contained in:
parent
bcaa835898
commit
cd6af40196
@ -253,7 +253,7 @@ class Message
|
||||
$this->subject = MIME::decode($messageOverview->subject, self::$charset);
|
||||
}
|
||||
|
||||
if (property_exists($messageOverview, 'date')) {
|
||||
if (property_exists($messageOverview, 'date') && null !== $messageOverview->date) {
|
||||
$this->date = strtotime($messageOverview->date);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user