diff --git a/CustomFields/CustomFieldChoice.php b/CustomFields/CustomFieldChoice.php index 928f1de64..76e9b2355 100644 --- a/CustomFields/CustomFieldChoice.php +++ b/CustomFields/CustomFieldChoice.php @@ -121,8 +121,8 @@ class CustomFieldChoice implements CustomFieldInterface $options['expanded'] = $customFieldOptions[self::EXPANDED]; $builder->add( - $builder->create($customField->getSlug(), 'choice', $options) - ->addModelTransformer(new CustomFieldDataTransformer($this, $customField)) + $builder->create($customField->getSlug(), 'choice', $options) + ->addModelTransformer(new CustomFieldDataTransformer($this, $customField)) ); }