MDL-11113 - Correction to previous change: going back to previous variable name, to prevent bugs

This commit is contained in:
scyrma 2008-06-06 02:21:40 +00:00
parent ebc2c0a817
commit 0687e5552c

View File

@ -57,7 +57,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$htmleditors[$editor] = $editor;
}
$temp->add(new admin_setting_configselect('defaulthtmleditor', get_string('defaulthtmleditor', 'admin'), null, 'tinymce', $htmleditors));
$temp->add(new admin_setting_configcheckbox('usehtmleditor', get_string('usehtmleditor', 'admin'), get_string('confightmleditor','admin'), 1));
$temp->add(new admin_setting_configcheckbox('htmleditor', get_string('usehtmleditor', 'admin'), get_string('confightmleditor','admin'), 1));
$ADMIN->add('htmleditor', $temp);
$temp = new admin_settingpage('htmlarea', get_string('htmlarea', 'admin'));