Fixes notice

This commit is contained in:
Michael 2022-04-15 04:14:21 +00:00
parent e4682a522e
commit 0696da3d1b

View file

@ -135,7 +135,7 @@ class Compose extends BaseModule
$contact = Contact::getById($a->getContactId()); $contact = Contact::getById($a->getContactId());
if ($this->config->get(local_user(), 'system', 'set_creation_date')) { if (DI::config()->get(local_user(), 'system', 'set_creation_date')) {
$created_at = Temporal::getDateTimeField( $created_at = Temporal::getDateTimeField(
new \DateTime(DBA::NULL_DATETIME), new \DateTime(DBA::NULL_DATETIME),
new \DateTime('now'), new \DateTime('now'),