mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-57255 gradereport_user: Fix default value for graderaw
graderaw is a PARAM_FLOAT, the default to empty string was incorrect
This commit is contained in:
parent
a0352aa95e
commit
f104a58fe0
@ -544,7 +544,7 @@ class grade_report_user extends grade_report {
|
||||
}
|
||||
|
||||
if ($this->showgrade) {
|
||||
$gradeitemdata['graderaw'] = '';
|
||||
$gradeitemdata['graderaw'] = null;
|
||||
$gradeitemdata['gradehiddenbydate'] = false;
|
||||
$gradeitemdata['gradeneedsupdate'] = $grade_grade->grade_item->needsupdate;
|
||||
$gradeitemdata['gradeishidden'] = $grade_grade->is_hidden();
|
||||
|
Loading…
x
Reference in New Issue
Block a user