]> git.mjollnir.org Git - moodle.git/commitdiff
Fix typos.
authortjhunt <tjhunt>
Tue, 6 Jan 2009 05:19:15 +0000 (05:19 +0000)
committertjhunt <tjhunt>
Tue, 6 Jan 2009 05:19:15 +0000 (05:19 +0000)
mod/quiz/review.php

index 7c619274dd5244f9c21e6fb20b85997c08a1000c..7b885fa5df25acfd521e9a10e0f70e6d57b0ef4d 100644 (file)
@@ -74,7 +74,7 @@
     require_js('mod/quiz/quiz.js');
     $headtags = $attemptobj->get_html_head_contributions($page);
     if ($accessmanager->securewindow_required($attemptobj->is_preview_user())) {
-        $accessmanager->setup_secure_page($course->shortname.': '.format_string($quiz->name), $headtags);
+        $accessmanager->setup_secure_page($attemptobj->get_course()->shortname.': '.format_string($attemptobj->get_quiz_name()), $headtags);
     } else {
         print_header_simple(format_string($attemptobj->get_quiz_name()), '', $attemptobj->navigation($strreviewtitle),
                 '', $headtags, true, $attemptobj->update_module_button());
     if ($accessmanager->securewindow_required($attemptobj->is_preview_user())) {
         print_footer('empty');
     } else {
-        print_footer($course);
+        print_footer($attemptobj->get_course());
     }
 ?>