ZF-3964: Zend_Form_Element_Multi addMultiOption seems to have params mislabeled
Description
Here is what the docs for 1.5.3 say: Zend_Form_Element_Multi addMultiOption (string $option, [string $value = ''])
* string $option
* string $value
But here is the code in the helper class:
foreach ((array) $options as $opt_value => $opt_label) {
The key is the value and the value is the label, not like it's being added.
Comments
Posted by Frank Brückner (frosch) on 2012-04-27T15:44:44.000+0000
Patch added.
Posted by Rob Allen (rob) on 2012-05-29T19:59:46.000+0000
Docs have already been updated.