Browse files

MDL-36549 Lesson module: fixed strict standards errors

  • Loading branch information...
1 parent d84c21d commit 2f860b4dedcbc5351bd57f9703afb322823783a9 @rwijaya rwijaya committed with danpoltawski Nov 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/lesson/view.php
View
1 mod/lesson/view.php
@@ -338,6 +338,7 @@
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));

0 comments on commit 2f860b4

Please sign in to comment.