ZF-7285: helper option not removed from Zend_Form_Decorator_Captcha_Word attributes

Description

Zend_Form_Decorator_Captcha_Word does'nt unset the option helper when rendering the hidden and the text input. So we have an unknown attribute named "helper" in the HTML.

In Zend/Form/Decorator/Captcha/Word :


    public function render($content)
    {
        [..]
        $attribs = $element->getAttribs();
        unset($attribs['helper']);
        $hidden = $view->formHidden($hiddenName, $element->getValue(), $attribs);
        $text = $view->formText($textName, '', $attribs);

Comments

That was fixed in ZF-5855