MDL-42492 course: Show option to move category to top level
added behat to test move category
This commit is contained in:
committed by
Marina Glancy
parent
df27570b93
commit
3b732cd6cc
@@ -2043,7 +2043,7 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
|
||||
$context = $this->get_context();
|
||||
return format_string($this->name, true, array('context' => $context) + $options);
|
||||
} else {
|
||||
return ''; // TODO 'Top'?.
|
||||
return get_string('top');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user