diff --git a/mod/scorm/locallib.php b/mod/scorm/locallib.php
index badbef98544..7a279fa8ea2 100755
--- a/mod/scorm/locallib.php
+++ b/mod/scorm/locallib.php
@@ -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 '
';
if ($scorms = get_all_instances_in_course('scorm', $course)) {
diff --git a/mod/scorm/report.php b/mod/scorm/report.php
index a9267fba943..acf7686786d 100755
--- a/mod/scorm/report.php
+++ b/mod/scorm/report.php
@@ -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");
}
diff --git a/mod/scorm/view.php b/mod/scorm/view.php
index 113c57b0388..4f83bff7956 100755
--- a/mod/scorm/view.php
+++ b/mod/scorm/view.php
@@ -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);