Merge "jquery.accessKeyLabel: make modifier info public"
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormField.php
index d4a293e..3d9ec1f 100644 (file)
@@ -1054,8 +1054,8 @@ abstract class HTMLFormField {
 
                foreach ( $oldoptions as $text => $data ) {
                        $options[] = array(
-                               'data' => $data,
-                               'label' => $text,
+                               'data' => (string)$data,
+                               'label' => (string)$text,
                        );
                }