Commit 42c6d2c9 authored by Astor Bizard's avatar Astor Bizard
Browse files

Fixed name display everywhere (not just main page).

parent 5f58b9bb
......@@ -321,7 +321,7 @@ class mod_vpl {
$ret .= ' (' . $grouping->name . ')';
}
}
return $ret;
return format_string($ret);
}
/**
......@@ -1604,7 +1604,7 @@ class mod_vpl {
*/
public function print_name() {
global $OUTPUT;
echo $OUTPUT->heading(format_string($this->get_printable_name()));
echo $OUTPUT->heading($this->get_printable_name());
}
public function str_restriction($str, $value = null, $raw = false) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment