Browse Source

MInor - Fixed when when adding content in the description of course (using the FCKEDITOR) and edit this content, it lose the configuration

Arthur Portugal 15 năm trước cách đây
mục cha
commit
f88b2100d4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/course_description/edit.php

+ 1 - 1
main/course_description/edit.php

@@ -77,7 +77,7 @@ if ($description_type == THEMATIC_ADVANCE) {
 $form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
 // Set some default values
 $default['title'] = Security::remove_XSS($description_title);
-$default['contentDescription'] = Security::remove_XSS($description_content,STUDENT);
+$default['contentDescription'] = Security::remove_XSS($description_content,COURSEMANAGERLOWSECURITY);
 $default['description_type'] = $description_type;
 
 $form->setDefaults($default);