Skip to content

Commit

Permalink
Update viewgrades.php
Browse files Browse the repository at this point in the history
Changed due to codechecker.
  • Loading branch information
drachels committed Jul 18, 2022
1 parent b31e24f commit e7bd786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/output/viewgrades.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected function init($group = 0, $userid = 0) {
if ($scale = $DB->get_record('scale', array('id' => -($this->hotquestion->instance->grade)))) {
$this->cache['scale'] = make_menu_from_list($scale->scale);
}
$finalgrade = sizeof($this->cache['scale']);
$finalgrade = count($this->cache['scale']);
$finalgrade .= '='.($this->cache['scale'][$finalgrade]);
}

Expand Down

0 comments on commit e7bd786

Please sign in to comment.