#25619Check if additional fields indeed provide fields
Description
If the additional fields definition is incomplete, it may happen that its fields list is undefined. This causes a PHP warning in the loop that goes over these fields.
The solution is to simply add a test to check if the fields list is set and is indeed an array.
(issue imported from #M12160)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.