Correct calls to require_course_login

This commit is contained in:
moodler 2005-04-13 07:00:35 +00:00
parent 1596edff55
commit 535136bde7
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
} }
} }
require_course_login($course->id); require_course_login($course);
$currentgroup = get_current_group($course->id); $currentgroup = get_current_group($course->id);

View File

@ -8,7 +8,7 @@
error("Course ID is incorrect"); error("Course ID is incorrect");
} }
require_course_login($course->id); require_course_login($course);
add_to_log($course->id, "scorm", "view all", "index.php?id=$course->id", ""); add_to_log($course->id, "scorm", "view all", "index.php?id=$course->id", "");