Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b474f
)
MDL-25813 fixed silly typo
author
Petr Skoda
<commits@skodak.org>
Tue, 28 Dec 2010 18:35:09 +0000
(19:35 +0100)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Tue, 28 Dec 2010 21:33:26 +0000
(22:33 +0100)
enrol/ldap/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/enrol/ldap/lib.php
b/enrol/ldap/lib.php
index
d16ab6c
..
732708e
100644
(file)
--- a/
enrol/ldap/lib.php
+++ b/
enrol/ldap/lib.php
@@
-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, 'idnumb
n
er')) {
+ if (!property_exists($user, 'idnumber')) {
debugging('Invalid $user parameter in sync_user_enrolments(), missing idnumber');
$user = $DB->get_record('user', array('id'=>$user->id));
}