From 19afd18c2691700417c0c2da910c423d3410a69f Mon Sep 17 00:00:00 2001 From: mikeyc7m Date: Fri, 31 Jan 2014 09:37:09 +1100 Subject: [PATCH] Update FieldEditor.php The EditableMultipleOptionField is being exposed in the form builder, when it is added to the form the page dies! It needs to be excluded. --- code/formfields/FieldEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/formfields/FieldEditor.php b/code/formfields/FieldEditor.php index 97767a5..8364421 100755 --- a/code/formfields/FieldEditor.php +++ b/code/formfields/FieldEditor.php @@ -127,7 +127,7 @@ class FieldEditor extends FormField { $title ); - if($niceTitle) { + if($niceTitle && $field != "EditableMultipleOptionField") { $output->push(new ArrayData(array( 'ClassName' => $field, 'Title' => "$niceTitle"