Skip to content

Commit

Permalink
IBX-1819: Added missing update path to DateFieldType (#355)
Browse files Browse the repository at this point in the history
Co-authored-by: Dawid Parafiński <[email protected]>
  • Loading branch information
barw4 and ViniTou authored Mar 25, 2022
1 parent 8008a86 commit 3e1b9e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/Form/Type/FieldType/DateFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3e1b9e3

Please sign in to comment.