From 2c99ca1faa1f895a3715817353e3f9b3d9343bda Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Tue, 8 Jun 2010 02:03:55 +0000 Subject: [PATCH] BUGFIX: fixed casting of Content. PATCH via ajshort (#5692). --- code/UserDefinedForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index 75c5c71..a258045 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -281,7 +281,7 @@ class UserDefinedForm_Controller extends Page_Controller { } } return array( - 'Content' => $this->Content, + 'Content' => DBField::create('HTMLText', $this->Content), 'Form' => $this->Form ); }