From 2d46d7ff691e0d7146dda6efac3000316765938b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 9 Dec 2009 22:28:09 +0000 Subject: [PATCH] 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 --- code/UserDefinedForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index fd87c26..658808a 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -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' => "" ); }