ZF-7235: FormErrors not taking Zend_Form setIsArray into account
FormErrors function "_recurseForm" does not check for the setting "isArray" on the supplied zend form.
When using subforms the first if statement (ln. 372) is triggered. This behaviour is also wanted when using your main form as isArray. Because this makes the array multidimensional.
This is leading to a non functional FormErrors decorator. Because it will never get the errors into the foreach loop on ln 383.
I momentarily fixed it by addind "|| $form->isArray()" to the if statement on ln 372. Don't know if that is the correct fix but i thought i should share