From d0a04279d333d4865d47c3ce380ec948ed7eb3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 13 Nov 2014 18:38:10 +0100 Subject: [PATCH] show the name into custom fields's choice label refs #291 --- CustomFields/CustomFieldChoice.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CustomFields/CustomFieldChoice.php b/CustomFields/CustomFieldChoice.php index b6c7eba8b..2767d8620 100644 --- a/CustomFields/CustomFieldChoice.php +++ b/CustomFields/CustomFieldChoice.php @@ -80,7 +80,8 @@ class CustomFieldChoice implements CustomFieldInterface $options = array( 'multiple' => $customField->getOptions()[self::MULTIPLE], 'choices' => $choices, - 'required' => false + 'required' => false, + 'label' => $customField->getName()[$locale] ); //if allow_other = true