Empty dates are now set to today as well
This commit is contained in:
parent
2ae4371606
commit
20eb7ae73f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Mail
|
|||
$msg['guid'] = Item::guidFromUri($msg['uri'], $host);
|
||||
}
|
||||
|
||||
$msg['created'] = (isset($msg['created']) ? DateTimeFormat::utc($msg['created']) : DateTimeFormat::utcNow());
|
||||
$msg['created'] = (!empty($msg['created']) ? DateTimeFormat::utc($msg['created']) : DateTimeFormat::utcNow());
|
||||
|
||||
DBA::lock('mail');
|
||||
|
||||
|
|
Loading…
Reference in a new issue