From 41d024619656802278ac5fb10b67f5b591b9a346 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 18 May 2022 19:25:28 +0300 Subject: [PATCH] feat(fields): update `CreatedAtField` --- src/flextype/core/Entries/Fields/Default/CreatedAtField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Entries/Fields/Default/CreatedAtField.php b/src/flextype/core/Entries/Fields/Default/CreatedAtField.php index 5c8b6e0c..edf88346 100644 --- a/src/flextype/core/Entries/Fields/Default/CreatedAtField.php +++ b/src/flextype/core/Entries/Fields/Default/CreatedAtField.php @@ -29,7 +29,7 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void emitter()->addListener('onEntriesCreate', static function (): void { - if (! registry()->get('flextype.settings.entries.collections.default.fields.created_at.enabled')) { + if (! registry()->get('methods.fetch.collection.fields.created_at.enabled')) { return; }