Fixes #6974 (change provided by aigualada)

1.9.x
Julio Montoya 11 years ago
parent f412f99510
commit aec96e383b
  1. 6
      main/gradebook/index.php

@ -820,11 +820,11 @@ if (isset($first_time) && $first_time==1 && api_is_allowed_to_edit(null,true)) {
}
$i = 0;
foreach ($cats as $cat) {
/** @var Category $cat **/
foreach ($cats as $cat) {
$allcat = $cat->get_subcategories($stud_id, $course_code, $session_id);
$alleval = $cat->get_evaluations($stud_id);
$alllink = $cat->get_links($stud_id,true);
$alllink = $cat->get_links($stud_id);
if ($cat->get_parent_id() != 0) {
$i++;

Loading…
Cancel
Save