mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-58807-activities-result-title-multilang' of https://github.com/lucaboesch/moodle
This commit is contained in:
commit
33673d89e5
1 changed files with 2 additions and 2 deletions
|
@ -682,7 +682,7 @@ class block_activity_results extends block_base {
|
||||||
|
|
||||||
$o = html_writer::start_tag('h3');
|
$o = html_writer::start_tag('h3');
|
||||||
$o .= html_writer::link(new moodle_url('/mod/'.$activity->itemmodule.'/view.php',
|
$o .= html_writer::link(new moodle_url('/mod/'.$activity->itemmodule.'/view.php',
|
||||||
array('id' => $cm->id)), $activity->itemname);
|
array('id' => $cm->id)), format_string(($activity->itemname), true, ['context' => context_module::instance($cm->id)]));
|
||||||
$o .= html_writer::end_tag('h3');
|
$o .= html_writer::end_tag('h3');
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue