MDL-12065, do not force parents to enrol in student courses

This commit is contained in:
toyomoyo
2007-11-09 01:37:07 +00:00
parent d4833f2103
commit 2b2cdcd504
+2 -1
View File
@@ -17,7 +17,8 @@
error("Course id is incorrect.");
}
require_login($course);
//require_login($course);
$COURSE = clone($course);
if (! $user = get_record("user", "id", $user)) {
error("User ID is incorrect");