Merge branch 'MDL-56959-master-fixup' of https://github.com/FMCorz/moodle

This commit is contained in:
Dan Poltawski
2016-11-18 07:53:31 +00:00
+1 -1
View File
@@ -2232,7 +2232,7 @@ class theme_config {
public function get_css_tree_post_processor() {
$configs = [$this] + $this->parent_configs;
foreach ($configs as $config) {
if ($config->csstreepostprocessor && is_callable($config->csstreepostprocessor)) {
if (!empty($config->csstreepostprocessor) && is_callable($config->csstreepostprocessor)) {
return $config->csstreepostprocessor;
}
}