From 0696da3d1bb4842fd651d58bffb88536dbd7a8a0 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 15 Apr 2022 04:14:21 +0000 Subject: [PATCH] Fixes notice --- src/Module/Item/Compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Item/Compose.php b/src/Module/Item/Compose.php index eff7816737..a3ca4296a2 100644 --- a/src/Module/Item/Compose.php +++ b/src/Module/Item/Compose.php @@ -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'), -- 2.39.5