mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Fixing escape error in required identifier
This commit is contained in:
parent
fbe1193e74
commit
96be46a6ac
@ -754,7 +754,7 @@ class EditableFormField extends DataObject
|
||||
|
||||
if ($identifier = UserDefinedForm::config()->required_identifier) {
|
||||
$title = $field->Title() . " <span class='required-identifier'>". $identifier . "</span>";
|
||||
$field->setTitle($title);
|
||||
$field->setTitle(DBField::create_field('HTMLText', $title));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user