MDL-25813 fixed silly typo

This commit is contained in:
Petr Skoda 2010-12-28 19:35:09 +01:00 committed by Eloy Lafuente (stronk7)
parent a3b474ffa0
commit 07f31e9f82

View File

@ -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));
}