MDL-17502 oops, I have overlooked Tim already fixed this - sorry
This commit is contained in:
@@ -1670,10 +1670,6 @@ function make_categories_list(&$list, &$parents, $requiredcapability = '',
|
||||
$parents = array();
|
||||
}
|
||||
|
||||
if (is_string($requiredcapability) && $requiredcapability) {
|
||||
$requiredcapability = array($requiredcapability);
|
||||
}
|
||||
|
||||
if (empty($category)) {
|
||||
// Start at the top level.
|
||||
$category = new stdClass;
|
||||
|
||||
Reference in New Issue
Block a user