diff --git a/CustomFields/CustomFieldChoice.php b/CustomFields/CustomFieldChoice.php index cc4795963..907b44817 100644 --- a/CustomFields/CustomFieldChoice.php +++ b/CustomFields/CustomFieldChoice.php @@ -92,7 +92,7 @@ class CustomFieldChoice implements CustomFieldInterface ); //if allow_other = true - if ($customField->getOptions()[self::ALLOW_OTHER] === 1) { + if ($customField->getOptions()[self::ALLOW_OTHER] == true) { $builder->add( $builder->create($customField->getSlug(), new ChoiceWithOtherType(), $options) ->addModelTransformer(new CustomFieldDataTransformer($this, $customField)));