mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-25813 fixed silly typo
This commit is contained in:
parent
a3b474ffa0
commit
07f31e9f82
@ -140,7 +140,7 @@ class enrol_ldap_plugin extends enrol_plugin {
|
||||
throw new coding_exception('Invalid $user parameter in sync_user_enrolments()');
|
||||
}
|
||||
|
||||
if (!property_exists($user, 'idnumbner')) {
|
||||
if (!property_exists($user, 'idnumber')) {
|
||||
debugging('Invalid $user parameter in sync_user_enrolments(), missing idnumber');
|
||||
$user = $DB->get_record('user', array('id'=>$user->id));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user