NOBUG glossary: removing duplicate trusttext option
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user