This commit is contained in:
Jun Pataleta 2022-11-22 09:49:53 +08:00
commit 5fd3111f95

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) {