Permalink
Browse files

MDL-10921 Fix backport of patch to 1.7.x (was using the new plugin se…

…ttings syntax).

Thanks to Patrick Pollet for pointing this out and providing a fix.
  • Loading branch information...
iarenaza
iarenaza committed Jan 5, 2008
1 parent 528ddea commit 4abc7c0630f9a190855b0cfa46ec44a5fd1f28ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/ldap/lib.php
View
@@ -1363,7 +1363,7 @@ function auth_ldap_connect($binddn='',$bindpwd=''){
}
// Fix MDL-10921
- if ($this->config->user_type == 'ad') {
+ if ($CFG->ldap_user_type == 'ad') {
ldap_set_option($connresult, LDAP_OPT_REFERRALS, 0);
}

0 comments on commit 4abc7c0

Please sign in to comment.