mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +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) {
|
if ($this->showgrade) {
|
||||||
$gradeitemdata['graderaw'] = '';
|
$gradeitemdata['graderaw'] = null;
|
||||||
$gradeitemdata['gradehiddenbydate'] = false;
|
$gradeitemdata['gradehiddenbydate'] = false;
|
||||||
$gradeitemdata['gradeneedsupdate'] = $grade_grade->grade_item->needsupdate;
|
$gradeitemdata['gradeneedsupdate'] = $grade_grade->grade_item->needsupdate;
|
||||||
$gradeitemdata['gradeishidden'] = $grade_grade->is_hidden();
|
$gradeitemdata['gradeishidden'] = $grade_grade->is_hidden();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user