BUGFIX Returning an HTMLText field from UserDefinedForm_Controller->index() instead of the string value - we need to process the string, for example to resolve [link] pseudocode

This commit is contained in:
Ingo Schommer 2009-12-09 22:28:09 +00:00
parent b4f5229f58
commit 2d46d7ff69

View File

@ -249,7 +249,7 @@ class UserDefinedForm_Controller extends Page_Controller {
if($hasLocation) {
$content = str_ireplace('$UserDefinedForm', $form->forTemplate(), $this->Content);
return array(
'Content' => $content,
'Content' => DBField::create('HTMLText', $content),
'Form' => ""
);
}