Issues

ZF-1930: [patch] Zend_View_Helper_FormSelect mistakenly sets options with value of 0 to selected

Description

Zend_View_Helper_FormSelect uses in_array() to test if a value is supposed to be selected. Unfortunately, this causes a problem if one of the options has a value of 0. Any option with a value of 0 will be selected no matter what. I'm attaching a patch that fixes the problem.

Comments

Assigned to Matthew

Scheduling for 1.0.3

Resolved in r6929; will be released with 1.0.3.