Empty dates are now set to today as well

pull/7260/head
Michael 2019-06-13 05:43:00 +00:00
rodzic 2ae4371606
commit 20eb7ae73f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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');