mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
using forTemplate() instead of (string) casting fixes unit test
This commit is contained in:
parent
b1a4b4823f
commit
c3ba8f42e1
@ -145,7 +145,7 @@ class EditableLiteralField extends EditableFormField
|
||||
Convert::raw2htmlname($this->Name),
|
||||
Convert::raw2att($classes),
|
||||
$label,
|
||||
(string)$this->dbObject('Content')
|
||||
$this->dbObject('Content')->forTemplate()
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user