Skip to content

Commit

Permalink
Merge pull request #2100 from biblibre/fix-user-batch-update-form
Browse files Browse the repository at this point in the history
Fix TypeError when building user batch update form
  • Loading branch information
zerocrates authored Sep 27, 2023
2 parents 3d5a86a + d31fc77 commit d9dc3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class UserBatchUpdateFormFactory implements FactoryInterface
{
public function __invoke(ContainerInterface $services, $requestedName, array $options = null)
{
$form = new UserBatchUpdateForm(null, $options);
$form = new UserBatchUpdateForm(null, $options ?? []);
$form->setEventManager($services->get('EventManager'));
return $form;
}
Expand Down

0 comments on commit d9dc3d3

Please sign in to comment.