From 3e1b9e301367f1e69fbd14a5f7cb5a3a81b135b8 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Fri, 25 Mar 2022 14:22:23 +0100 Subject: [PATCH] IBX-1819: Added missing update path to DateFieldType (#355) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dawid ParafiƄski --- lib/Form/Type/FieldType/DateFieldType.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Form/Type/FieldType/DateFieldType.php b/lib/Form/Type/FieldType/DateFieldType.php index 6253e4009..802bb2f6f 100644 --- a/lib/Form/Type/FieldType/DateFieldType.php +++ b/lib/Form/Type/FieldType/DateFieldType.php @@ -18,7 +18,12 @@ */ class DateFieldType extends AbstractType { - private const EDIT_VIEWS = ['ez_content_draft_edit', 'ezplatform.content.translate', 'ibexa.content.translate_with_location']; + private const EDIT_VIEWS = [ + 'ez_content_draft_edit', + 'ezplatform.content.translate', + 'ibexa.content.translate_with_location', + 'ez_user_update' + ]; /** @var \Symfony\Component\HttpFoundation\RequestStack */ private $requestStack;