diff --git a/code/model/editableformfields/EditableLiteralField.php b/code/model/editableformfields/EditableLiteralField.php index 7887937..41f3508 100644 --- a/code/model/editableformfields/EditableLiteralField.php +++ b/code/model/editableformfields/EditableLiteralField.php @@ -145,7 +145,7 @@ class EditableLiteralField extends EditableFormField Convert::raw2htmlname($this->Name), Convert::raw2att($classes), $label, - $this->dbObject('Content') + (string)$this->dbObject('Content') ) );