Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a bad function call!

  • Loading branch information...
commit 4cde340d52ad774a655dd9ef03742d0fb996dfa6 1 parent 92b5764
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/database/enrol.php
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.