Merge pull request #11412 from annando/fix-compose

Fixes notice
This commit is contained in:
Philipp 2022-04-15 12:15:08 +02:00 committed by GitHub
commit a2a5f27d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ class Compose extends BaseModule
$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(
new \DateTime(DBA::NULL_DATETIME),
new \DateTime('now'),