Solving Bug #7204

$formats and $labels are used as array later and with an empty template (i.e. cleaned in eFormOnBeforeFormParse) Bug #7204 appears.