ZF-3896: Zend_Form_Decorator_Fieldset uses form's class attribute if both attributes are set
In Zend_Form_Decorator_Fieldset line 73, the line $options = array_merge($options, $attribs);
$options = array_merge($attribs, $options);
This is because the current version overwrites specified attribs if they are the same as the Form.
For example, let's take a form:
$form = new Zend_Form(); $form->setAttrib ( 'class', 'FormClass' ); $form->addDecorator('Fieldset',array('class'=>'FieldsetClass'));
The fieldset would be rendered with the FormClass instead of FieldsetClass as expected.