Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves getting of first array element (#6722)
When working with adding and removing entities from the CollectionType field, it can happen that the array index not starts with 0 but has an length > 0. This leads to an error since that index 0 is unset. So using twig first function here to handle this case.
- Loading branch information