mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX: fixed double escaping for titles on output. Thanks dhensby.
This commit is contained in:
parent
6350a66dfb
commit
045a01bf2b
@ -242,7 +242,7 @@ class EditableFormField extends DataObject {
|
||||
* @return TextField
|
||||
*/
|
||||
function TitleField() {
|
||||
$field = new TextField('Title', _t('EditableFormField.ENTERQUESTION', 'Enter Question'), Convert::raw2att($this->Title));
|
||||
$field = new TextField('Title', _t('EditableFormField.ENTERQUESTION', 'Enter Question'), $this->Title);
|
||||
$field->setName($this->getFieldName('Title'));
|
||||
|
||||
if(!$this->canEdit()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user