Skip to content

Commit

Permalink
Merge pull request #47 from ibexa/temp_1.3_to_4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx authored Aug 16, 2023
2 parents a64c8d8 + ffeaa4d commit 24693cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/Data/Mapper/ContentUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ private function configureOptions(OptionsResolver $optionsResolver)
{
$optionsResolver
->setRequired(['languageCode', 'contentType', 'currentFields'])
->setAllowedTypes('contentType', ContentType::class);
->setAllowedTypes('contentType', ContentType::class)
->setDefault('currentFields', []);
}
}

Expand Down

0 comments on commit 24693cc

Please sign in to comment.