mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixing OU report issues
This commit is contained in:
parent
ee8652f3de
commit
206f995349
2 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue