iMerged from stable

This commit is contained in:
moodler
2004-09-03 03:19:31 +00:00
parent a3cb0ff051
commit 76706cbfb0
+1 -1
View File
@@ -36,7 +36,7 @@ function get_student_courses(&$user) {
foreach ($user->student as $courseid=>$value) {
/// Get the value of the local course field
$localcoursevalue = getfield("course", $CFG->enrol_localcoursefield, "id", $courseid);
$localcoursevalue = get_field("course", $CFG->enrol_localcoursefield, "id", $courseid);
/// Find a record in the external database that matches the local course field and local user field
/// to the respective remote fields