diff --git a/theme/styles.php b/theme/styles.php index 4ff9284650c..b64cad05a73 100644 --- a/theme/styles.php +++ b/theme/styles.php @@ -78,7 +78,7 @@ $theme = theme_config::load($themename); if ($type === 'editor') { $css = $theme->editor_css_content(); - store_css($candidatesheet, $css); + store_css($theme, $candidatesheet, $css); } else { $css = $theme->css_files(); $allfiles = array();