MDL-57283 core: fixed function call on null

This commit is contained in:
Mark Nelson
2016-12-07 10:17:36 +00:00
committed by Dan Poltawski
parent 2d44bb544b
commit a1e1b45ae7
+3
View File
@@ -295,6 +295,9 @@ class filter_manager {
$filter = $this->textfilters[$context->id][$name];
} else {
$filter = $this->make_filter_object($name, $context, $config);
if (is_null($filter)) {
continue;
}
}
$filter->setup($page, $context);
}