From: Michael Date: Fri, 15 Apr 2022 04:14:21 +0000 (+0000) Subject: Fixes notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0696da3d1bb4842fd651d58bffb88536dbd7a8a0;p=friendica.git Fixes notice --- 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'),