Merge branch 'WIP-MDL-60658-33' of https://github.com/chkhanu/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -408,7 +408,7 @@ abstract class moodleform_mod extends moodleform {
|
||||
} else {
|
||||
$grade = $scale;
|
||||
}
|
||||
if ($data['gradepass'] > $grade) {
|
||||
if (unformat_float($data['gradepass']) > $grade) {
|
||||
$errors['gradepass'] = get_string('gradepassgreaterthangrade', 'grades', $grade);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user