Skip to content

Commit

Permalink
Merge branch 'MDL-56959-master-fixup' of https://github.com/FMCorz/mo…
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Nov 18, 2016
2 parents cb3f673 + 755b013 commit ff308ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@ public function get_block_render_method() {
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;
}
}
Expand Down

0 comments on commit ff308ab

Please sign in to comment.