mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
fixed warning when no students graded yet (caused by useless assignment); merged from MOODLE_16_STABLE
This commit is contained in:
parent
7e4fe17600
commit
d971525f28
@ -116,7 +116,6 @@ function grade_get_exceptions_user($course, $userid) {
|
||||
$temp = get_records_sql($sql);
|
||||
return $temp;
|
||||
}
|
||||
|
||||
function grade_letters_set($course) {
|
||||
global $CFG;
|
||||
$sql = "SELECT * FROM {$CFG->prefix}grade_letter WHERE courseid=$course";
|
||||
@ -203,7 +202,6 @@ function grade_get_formatted_grades() {
|
||||
$grades_by_student["$student"]["$cur_category"]['stats']['allgrades'] = $grade;
|
||||
}
|
||||
}
|
||||
$currentgrades = $grades_by_student["$student"]["$cur_category"]['stats']['allgrades'];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user