Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Jul 17, 2007
1 parent db4c796 commit eff97ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions grade/report/grader/lib.php
Expand Up @@ -690,10 +690,9 @@ function get_studentshtml() {

// Convert the grade to percentage if needed
if ($gradedisplaytype == GRADE_REPORT_GRADE_DISPLAY_TYPE_PERCENTAGE && !is_null($gradeval)) {
$gradeval = grade_grades::standardise_score($gradeval,
$this->finalgrades[$userid][$item->id]->grademin,
$this->finalgrades[$userid][$item->id]->grademax,
0, 100);
$grademin = $this->finalgrades[$userid][$item->id]->grademin;
$grademax = $this->finalgrades[$userid][$item->id]->grademax;
$gradeval = grade_grades::standardise_score($gradeval, $grademin, $grademax, 0, 100);
}

// If feedback present, surround grade with feedback tooltip
Expand Down

0 comments on commit eff97ae

Please sign in to comment.