From: moodler Date: Fri, 3 Sep 2004 03:19:31 +0000 (+0000) Subject: iMerged from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=76706cbfb0bc9ab572ad3ee1a3eaed7648b977ef;p=moodle.git iMerged from stable --- 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