Skip to content
Permalink
Browse files

Merged from MOODLE_15_STABLE

Check array is initialised. Bug 3424.
  • Loading branch information...
ikawhero
ikawhero committed Jun 6, 2005
1 parent 80002a2 commit 5fadde83892d34fc9f55c8c1aa8b76704ab8080d
Showing with 3 additions and 0 deletions.
  1. +3 −0 grade/lib.php
@@ -1656,6 +1656,9 @@ function grade_view_category_grades($view_by_student) {
}
}
}
/// Make sure $item_order is initialised (bug 3424)
if (empty($item_order)) $item_order = array();
ksort($item_order);
foreach($grades_by_student as $student => $categories) {

0 comments on commit 5fadde8

Please sign in to comment.
You can’t perform that action at this time.