From 76706cbfb0bc9ab572ad3ee1a3eaed7648b977ef Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 3 Sep 2004 03:19:31 +0000 Subject: [PATCH] iMerged from stable --- enrol/database/enrol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enrol/database/enrol.php b/enrol/database/enrol.php index 4fb3617fbe..4a901bd69a 100644 --- a/enrol/database/enrol.php +++ b/enrol/database/enrol.php @@ -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 -- 2.39.5