Skip to content
Browse files

MDL-36549 Lesson module: fixed strict standards errors

  • Loading branch information...
1 parent 6548ce0 commit 879766ade24615cc74a950428698af2127e30c24 @rwijaya rwijaya committed 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 879766a

Please sign in to comment.
Something went wrong with that request. Please try again.