mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-36549 Lesson module: fixed strict standards errors
This commit is contained in:
parent
2d7c5eeeea
commit
46ac70b24c
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ if ($pageid != LESSON_EOL) {
|
|||
if (lesson_display_teacher_warning($lesson)) {
|
||||
// This is the warning msg for teachers to inform them that cluster
|
||||
// and unseen does not work while logged in as a teacher
|
||||
$warningvars = new stdClass();
|
||||
$warningvars->cluster = get_string('clusterjump', 'lesson');
|
||||
$warningvars->unseen = get_string('unseenpageinbranch', 'lesson');
|
||||
$lesson->add_message(get_string('teacherjumpwarning', 'lesson', $warningvars));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue