show the name into custom fields's choice label refs #291

This commit is contained in:
Julien Fastré 2014-11-13 18:38:10 +01:00
parent 869bed4ac8
commit d0a04279d3

View File

@ -80,7 +80,8 @@ class CustomFieldChoice implements CustomFieldInterface
$options = array( $options = array(
'multiple' => $customField->getOptions()[self::MULTIPLE], 'multiple' => $customField->getOptions()[self::MULTIPLE],
'choices' => $choices, 'choices' => $choices,
'required' => false 'required' => false,
'label' => $customField->getName()[$locale]
); );
//if allow_other = true //if allow_other = true