Fixes notice
This commit is contained in:
parent
e4682a522e
commit
0696da3d1b
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue