mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
fixing print_grade_plugin_selector() to point to edit/courseoutcomes
This commit is contained in:
parent
cc7915781e
commit
014834e40b
1 changed files with 3 additions and 3 deletions
|
@ -122,11 +122,11 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_capability('course:update', $context)) {
|
if (has_capability('course:update', $context)) {
|
||||||
$url = 'edit/favoutcomes/index.php?id='.$courseid;
|
$url = 'edit/courseoutcomes/index.php?id='.$courseid;
|
||||||
if ($active_type == 'edit' and $active_plugin == 'favoutcomes' ) {
|
if ($active_type == 'edit' and $active_plugin == 'courseoutcomes' ) {
|
||||||
$active = $url;
|
$active = $url;
|
||||||
}
|
}
|
||||||
$menu[$url] = get_string('favouriteoutcomes', 'grades');
|
$menu[$url] = get_string('courseoutcomes', 'grades');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue