mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixing OU report issues
This commit is contained in:
parent
ee8652f3de
commit
206f995349
@ -160,6 +160,9 @@ echo '</div>';
|
||||
print_footer($course);
|
||||
die;
|
||||
|
||||
/**
|
||||
* TODO document
|
||||
*/
|
||||
function print_grade_tree(&$gtree, $element, $moving, &$gpr, $switch, $switchedlast=false) {
|
||||
global $CFG, $COURSE;
|
||||
|
||||
|
@ -800,7 +800,7 @@ class grade_tree {
|
||||
$order = key($element['children']);
|
||||
unset($element['children'][$order]);
|
||||
$element['children'][$order] =& $category_item;
|
||||
foreach ($element['children'] as $sortorder=>$child) {
|
||||
foreach ($element['children'] as $sortorder => $child) {
|
||||
grade_tree::category_grade_last($element['children'][$sortorder]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user