BUGFIX: fixed casting of Content. PATCH via ajshort (#5692).

This commit is contained in:
Will Rossiter 2010-06-08 02:03:55 +00:00
parent e2565b1674
commit 2c99ca1faa

View File

@ -281,7 +281,7 @@ class UserDefinedForm_Controller extends Page_Controller {
}
}
return array(
'Content' => $this->Content,
'Content' => DBField::create('HTMLText', $this->Content),
'Form' => $this->Form
);
}