Merge branch 'MDL-76389_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE

This commit is contained in:
Jun Pataleta
2022-11-22 09:49:42 +08:00
+1 -1
View File
@@ -963,7 +963,7 @@ class theme_config {
$files['plugin_'.$plugin] = $sheetfile;
}
$subplugintypes = core_component::get_subplugins("editor_{$plugin}");
$subplugintypes = core_component::get_subplugins("editor_{$plugin}") ?? [];
// Fetch sheets for any editor subplugins.
foreach ($subplugintypes as $plugintype => $subplugins) {
foreach ($subplugins as $subplugin) {