]> git.mxchange.org Git - friendica.git/commitdiff
Fixes notice
authorMichael <heluecht@pirati.ca>
Fri, 15 Apr 2022 04:14:21 +0000 (04:14 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 15 Apr 2022 04:14:21 +0000 (04:14 +0000)
src/Module/Item/Compose.php

index eff781673792d8c0d4a25c63437dbba04dc9a417..a3ca4296a2685d6fcffb83b2c7361a94c2556f3d 100644 (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'),