Skip to content
Browse files

Fixed a bad function call!

  • Loading branch information...
1 parent 92b5764 commit 4cde340d52ad774a655dd9ef03742d0fb996dfa6 moodler committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/database/enrol.php
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

0 comments on commit 4cde340

Please sign in to comment.
Something went wrong with that request. Please try again.