mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: fixed casting of Content. PATCH via ajshort (#5692).
This commit is contained in:
parent
e2565b1674
commit
2c99ca1faa
@ -281,7 +281,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
}
|
||||
}
|
||||
return array(
|
||||
'Content' => $this->Content,
|
||||
'Content' => DBField::create('HTMLText', $this->Content),
|
||||
'Form' => $this->Form
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user