using forTemplate() instead of (string) casting fixes unit test

This commit is contained in:
Eduard Briem 2016-11-21 10:48:10 +13:00
parent b1a4b4823f
commit c3ba8f42e1

View File

@ -145,7 +145,7 @@ class EditableLiteralField extends EditableFormField
Convert::raw2htmlname($this->Name),
Convert::raw2att($classes),
$label,
(string)$this->dbObject('Content')
$this->dbObject('Content')->forTemplate()
)
);