mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'wip-mdl-55739' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
a4b2896238
@ -701,7 +701,7 @@ function get_moduleinfo_data($cm, $course) {
|
||||
foreach ($items as $item) {
|
||||
if (!empty($item->outcomeid)) {
|
||||
$data->{'outcome_' . $item->outcomeid} = 1;
|
||||
} else if (!empty($item->gradepass)) {
|
||||
} else if (isset($item->gradepass)) {
|
||||
$decimalpoints = $item->get_decimals();
|
||||
$data->gradepass = format_float($item->gradepass, $decimalpoints);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user