Skip to content
Browse files

Fixed a typo

  • Loading branch information...
1 parent 0d699c2 commit 77bf0c292dd5b8fdbc0a1ddd334d550be4522e3b bobopinna committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 mod/scorm/locallib.php
  2. +1 −1 mod/scorm/report.php
  3. +1 −1 mod/scorm/view.php
View
2 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 '<div class="mod-scorm">';
if ($scorms = get_all_instances_in_course('scorm', $course)) {
View
2 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");
}
View
2 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);

0 comments on commit 77bf0c2

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