diff --git a/sources/AppBundle/Accounting/Form/TransactionType.php b/sources/AppBundle/Accounting/Form/TransactionType.php index 62a65f882..f978e4482 100644 --- a/sources/AppBundle/Accounting/Form/TransactionType.php +++ b/sources/AppBundle/Accounting/Form/TransactionType.php @@ -226,7 +226,7 @@ private function buildEventChoice(): array { $choices = []; /** @var Event $event */ - foreach ($this->eventRepository->getAllSortedByName(true) as $event) { + foreach ($this->eventRepository->getAllSortedByName() as $event) { $choices[$event->name] = $event->id; }