Merge branch 'MDL-52538-master' of git://github.com/mihailges/moodle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user