ZF-3964: Zend_Form_Element_Multi addMultiOption seems to have params mislabeled


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.


Patch added.

Docs have already been updated.