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:
Juan Leyva 2016-12-02 12:29:51 +00:00
parent a0352aa95e
commit f104a58fe0

View File

@ -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();