Fixed a typo

This commit is contained in:
bobopinna 2006-08-31 10:37:33 +00:00
parent 0d699c2449
commit 77bf0c292d
3 changed files with 3 additions and 3 deletions

View File

@ -376,7 +376,7 @@ function scorm_course_format_display($user,$course) {
$strupdate = get_string('update');
$strmodule = get_string('modulename','scorm');
$context get_context_instance(CONTEXT_COURSE,$course->id);
$context = get_context_instance(CONTEXT_COURSE,$course->id);
echo '<div class="mod-scorm">';
if ($scorms = get_all_instances_in_course('scorm', $course)) {

View File

@ -42,7 +42,7 @@
require_login($course->id, false, $cm);
if (!has_capability('mod/scorm:viewreport', get_context_instance(CONTEXT_MODULE,$cm->id)) {
if (!has_capability('mod/scorm:viewreport', get_context_instance(CONTEXT_MODULE,$cm->id))) {
error("You are not allowed to use this script");
}

View File

@ -33,7 +33,7 @@
require_login($course->id, false, $cm);
$context = get_context_instance(CONTEXT_COURSE, $course->id)
$context = get_context_instance(CONTEXT_COURSE, $course->id);
if (isset($SESSION->scorm_scoid)) {
unset($SESSION->scorm_scoid);