mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-53982 competency: Javascript error due to string injection
This commit is contained in:
parent
71c0a5745c
commit
60011d9a8a
6 changed files with 8 additions and 12 deletions
|
@ -77,7 +77,6 @@ class user_course_navigation implements renderable, templatable {
|
|||
$data->courseid = $this->courseid;
|
||||
$data->baseurl = $this->baseurl;
|
||||
$data->groupselector = '';
|
||||
$data->jumptouser = get_string('jumptouser', 'tool_lp');
|
||||
|
||||
if (has_any_capability(array('moodle/competency:usercompetencyview', 'moodle/competency:coursecompetencymanage'),
|
||||
$context)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue