mod-data MDL-25281 Removed format_text call that we messing up database entries.

This commit is contained in:
Sam Hemelryk
2010-11-19 02:58:42 +00:00
parent e076641f77
commit 7a534d7a5c
+1 -2
View File
@@ -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 '<div class="mdl-align"><input type="submit" name="saveandview" value="'.get_string('saveandview','data').'" />';
if ($rid) {