Commit 57fe6616 authored by Damyon Wiese's avatar Damyon Wiese
Browse files

Merge branch 'MDL-52538-master' of git://

parents 39377f80 2034f57f
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment