From 7a534d7a5cd8331b23fa3e97ef696c55b6aef8b8 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Fri, 19 Nov 2010 02:58:42 +0000 Subject: [PATCH] mod-data MDL-25281 Removed format_text call that we messing up database entries. --- mod/data/edit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/data/edit.php b/mod/data/edit.php index 136000083c7..34aef3f2296 100755 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -310,8 +310,7 @@ if ($data->addtemplate){ $newtext = ''; } -$formatoptions = (object)array('noclean'=>true, 'para'=>false, 'filter'=>true); -echo format_text($newtext, FORMAT_HTML, $formatoptions); +echo $newtext; echo '
'; if ($rid) {