From 33b1a4063994d07c8f6bed8ffb726c5fa8cb7db6 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Thu, 10 Jun 2010 17:56:14 +0000 Subject: [PATCH] NOBUG glossary: removing duplicate trusttext option --- mod/glossary/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/edit.php b/mod/glossary/edit.php index a66580b1771..09eab850094 100644 --- a/mod/glossary/edit.php +++ b/mod/glossary/edit.php @@ -66,7 +66,7 @@ if ($id) { // if entry is specified $maxfiles = 99; // TODO: add some setting $maxbytes = $course->maxbytes; // TODO: add some setting -$definitionoptions = array('trusttext'=>true, 'subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes, 'trusttext'=>true, 'context'=>$context); +$definitionoptions = array('trusttext'=>true, 'subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes, 'context'=>$context); $attachmentoptions = array('subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes); $entry = file_prepare_standard_editor($entry, 'definition', $definitionoptions, $context, 'glossary_entry', $entry->id);