1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

Fixing typo in ldap enrolment plugin (variable missing _)

This commit is contained in:
mjollnir_ 2005-03-29 00:21:55 +00:00
parent 8ec3c19712
commit d54ced8618

@ -81,7 +81,7 @@ function get_user_courses(&$user, $type) {
error_log("User $user->username enrolled to a nonexistant course $course_ext_id \n");
}
} else { // the course object exists before we call...
if ($courseobj->visible==0) {
if ($course_obj->visible==0) {
// non-visible courses don't show up in the enrolled
// array, so we should skip them --
unset($user->{$type}[$course_obj->id]);