Zend Framework

Undefined variable $value in Zend_Form_Element_Password if no validators

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0.4
  • Component/s: Zend_Form
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

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.

Activity

Hide
Joakim Nygård added a comment -

Proposed fix

Show
Joakim Nygård added a comment - Proposed fix
Hide
Matthew Weier O'Phinney added a comment -

Resolved in current trunk

Show
Matthew Weier O'Phinney added a comment - Resolved in current trunk

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified