FIX Fixing escape error in required identifier

This commit is contained in:
Nicolaas 2019-01-10 22:40:53 +13:00 committed by Robbie Averill
parent fbe1193e74
commit 96be46a6ac

View File

@ -754,7 +754,7 @@ class EditableFormField extends DataObject
if ($identifier = UserDefinedForm::config()->required_identifier) { if ($identifier = UserDefinedForm::config()->required_identifier) {
$title = $field->Title() . " <span class='required-identifier'>". $identifier . "</span>"; $title = $field->Title() . " <span class='required-identifier'>". $identifier . "</span>";
$field->setTitle($title); $field->setTitle(DBField::create_field('HTMLText', $title));
} }
} }