Issues

ZF-7285: helper option not removed from Zend_Form_Decorator_Captcha_Word attributes

Issue Type: Bug Created: 2009-07-15T04:22:22.000+0000 Last Updated: 2010-05-24T11:14:07.000+0000 Status: Resolved Fix version(s): Reporter: Maxence Delannoy (mdelanno) Assignee: Christian Albrecht (alab) Tags: - Zend_Form

Related issues: Attachments:

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 :

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

Comments

Posted by Christian Albrecht (alab) on 2010-05-24T11:14:06.000+0000

That was fixed in ZF-5855

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts