Skip to content
Browse files

Merge branch 'MDL-35226-master' of git://github.com/ankitagarwal/moodle

  • Loading branch information...
2 parents 99a0936 + d43d341 commit 8e35be43c44f4edb9959e7e60bbff49e157ce385 @stronk7 stronk7 committed Sep 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/lesson/report.php
  2. +1 −1 mod/lesson/view.php
View
2 mod/lesson/report.php
@@ -376,7 +376,7 @@
4. Print out the object which contains all the try info
**************************************************************************/
- echo $lessonoutput->header($lesson, $cm, $actionfalse, null, get_string('detailedstats', 'lesson'));
+ echo $lessonoutput->header($lesson, $cm, $action, false, null, get_string('detailedstats', 'lesson'));
$course_context = context_course::instance($course->id);
if (has_capability('gradereport/grader:view', $course_context) && has_capability('moodle/grade:viewall', $course_context)) {
View
2 mod/lesson/view.php
@@ -73,7 +73,7 @@
/// Check for high scores
if (!$canmanage) {
if (!$lesson->is_accessible()) { // Deadline restrictions
- echo $lessonoutput->header($lesson, $cm, '', false, null, get_string('lessonnotready2', 'lesson'));
+ echo $lessonoutput->header($lesson, $cm, '', false, null, get_string('notavailable'));
if ($lesson->deadline != 0 && time() > $lesson->deadline) {
echo $lessonoutput->lesson_inaccessible(get_string('lessonclosed', 'lesson', userdate($lesson->deadline)));
} else {

0 comments on commit 8e35be4

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