Skip to content

Commit

Permalink
MDL-13851 fixed disappearing grade categories in PHP4; merged from MO…
Browse files Browse the repository at this point in the history
…ODLE_19_STABLE
  • Loading branch information
skodak committed Mar 8, 2008
1 parent fbb51be commit 6537035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grade/grade_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ function get_children($include_category_items=false) {
$sortorder++;
}

$cats[$cat->parent]->children[$sortorder] = $cat;
$cats[$cat->parent]->children[$sortorder] = &$cats[$catid];
}

if ($catid == $this->id) {
Expand Down

0 comments on commit 6537035

Please sign in to comment.