Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
a4b28962
Commit
a4b28962
authored
Oct 06, 2016
by
Andrew Nicols
Browse files
Merge branch 'wip-mdl-55739' of
https://github.com/rajeshtaneja/moodle
parents
952ffbc2
16e62ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
course/modlib.php
View file @
a4b28962
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment