Skip to content

Commit

Permalink
MDL-57255 gradereport_user: Fix default value for graderaw
Browse files Browse the repository at this point in the history
graderaw is a PARAM_FLOAT, the default to empty string was incorrect
  • Loading branch information
jleyva committed Dec 2, 2016
1 parent a0352aa commit f104a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/user/lib.php
Expand Up @@ -544,7 +544,7 @@ private function fill_table_recursive(&$element) {
}

if ($this->showgrade) {
$gradeitemdata['graderaw'] = '';
$gradeitemdata['graderaw'] = null;
$gradeitemdata['gradehiddenbydate'] = false;
$gradeitemdata['gradeneedsupdate'] = $grade_grade->grade_item->needsupdate;
$gradeitemdata['gradeishidden'] = $grade_grade->is_hidden();
Expand Down

0 comments on commit f104a58

Please sign in to comment.