mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-04-06 14:53:35 +03:00
check date is null
This commit is contained in:
parent
bcaa835898
commit
cd6af40196
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue