ZF-2656: Undefined variable $value in Zend_Form_Element_Password if no validators

Issue Type: Bug Created: 2008-02-14T13:02:40.000+0000 Last Updated: 2008-02-26T12:55:57.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Joakim Nygård (jokke) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments: - Zend_Form_Element_Password.diff


As per fw_mcv mail by Hector Virgen: "Just a tiny bug: Zend_Form_Element_Password has an undefined variable '$value' on line 56 if no validators are added to the element."

Quick fix by setting the value of $value before the foreach statement.


Posted by Joakim Nygård (jokke) on 2008-02-14T13:06:08.000+0000

Proposed fix

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-14T16:02:09.000+0000

Resolved in current trunk

Have you found an issue?

See the Overview section for more details.


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

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