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
Posted by Thomas Weidner (thomas) on 2007-09-11T12:59:55.000+0000
Assigned to Matthew
Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T12:16:05.000+0000
Scheduling for 1.0.3
Posted by Matthew Weier O'Phinney (matthew) on 2007-11-25T12:55:06.000+0000
Resolved in r6929; will be released with 1.0.3.