mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-05 18:29:23 +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…
x
Reference in New Issue
Block a user