MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently
This commit is contained in:
+1
-1
@@ -3597,7 +3597,7 @@ function print_context_name($context, $withprefix = true, $short = false) {
|
||||
$name = get_string('course').': ';
|
||||
}
|
||||
if ($short){
|
||||
$name .= format_string($course->shortname);
|
||||
$name .= format_string($course->shortname, true, array('context' => $context));
|
||||
} else {
|
||||
$name .= format_string($course->fullname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user