Skip to content
GitLab
Menu
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
57fe6616
Commit
57fe6616
authored
Dec 12, 2017
by
Damyon Wiese
Browse files
Merge branch 'MDL-52538-master' of
git://github.com/mihailges/moodle
parents
39377f80
2034f57f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/lesson/locallib.php
View file @
57fe6616
...
...
@@ -3027,7 +3027,7 @@ class lesson extends lesson_base {
$this
->
add_message
(
get_string
(
'numberofpagesviewednotice'
,
'lesson'
,
$a
));
}
if
(
!
$reviewmode
&&
!
$this
->
properties
->
retake
)
{
if
(
!
$reviewmode
&&
$this
->
properties
->
ongoing
)
{
$this
->
add_message
(
get_string
(
"numberofcorrectanswers"
,
"lesson"
,
$gradeinfo
->
earned
),
'notify'
);
if
(
$this
->
properties
->
grade
!=
GRADE_TYPE_NONE
)
{
$a
=
new
stdClass
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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