Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -647,7 +647,7 @@ |
648 | 648 | $selected = $valInSelect ? $value : 'other'; |
649 | 649 | |
650 | 650 | $select = new XmlSelect( $this->mName, $this->mID, $selected ); |
651 | | - $select->addOptions( $this->mParams['options'] ); |
| 651 | + $select->addOptions( array_map( 'strval', $this->mParams['options'] ) ); |
652 | 652 | |
653 | 653 | $select->setAttribute( 'class', 'mw-htmlform-select-or-other' ); |
654 | 654 | |