Commit 8069fc03 authored by Astor Bizard's avatar Astor Bizard
Browse files

Fixed name display to apply filters.

parent f98b5fde
...@@ -1603,9 +1603,8 @@ class mod_vpl { ...@@ -1603,9 +1603,8 @@ class mod_vpl {
* Show vpl name * Show vpl name
*/ */
public function print_name() { public function print_name() {
echo '<h2>'; global $OUTPUT;
p( $this->get_printable_name() ); echo $OUTPUT->heading(format_string($this->get_printable_name()));
echo '</h2>';
} }
public function str_restriction($str, $value = null, $raw = false) { 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