diff --git a/admin/editors.php b/admin/editors.php index e1be31f3f67..5d8a50ce768 100644 --- a/admin/editors.php +++ b/admin/editors.php @@ -47,6 +47,7 @@ switch ($action) { // remove from enabled list $key = array_search($editor, $active_editors); unset($active_editors[$key]); + add_to_config_log('editor_visibility', '1', '0', $editor); break; case 'enable': @@ -54,6 +55,7 @@ switch ($action) { if (!in_array($editor, $active_editors)) { $active_editors[] = $editor; $active_editors = array_unique($active_editors); + add_to_config_log('editor_visibility', '0', '1', $editor); } break; @@ -66,6 +68,7 @@ switch ($action) { $fsave = $active_editors[$key]; $active_editors[$key] = $active_editors[$key + 1]; $active_editors[$key + 1] = $fsave; + add_to_config_log('editor_position', $key, $key + 1, $editor); } } break; @@ -79,6 +82,7 @@ switch ($action) { $fsave = $active_editors[$key]; $active_editors[$key] = $active_editors[$key - 1]; $active_editors[$key - 1] = $fsave; + add_to_config_log('editor_position', $key, $key - 1, $editor); } } break;