Merge branch 'MDL-52538-33' of git://github.com/mihailges/moodle into MOODLE_33_STABLE

This commit is contained in:
Damyon Wiese
2017-12-12 10:40:54 +08:00
+1 -1
View File
@@ -3001,7 +3001,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;