diff --git a/auth/ldap/lib.php b/auth/ldap/lib.php index a3c5db93ffd..9c684a96a74 100644 --- a/auth/ldap/lib.php +++ b/auth/ldap/lib.php @@ -402,7 +402,7 @@ function auth_user_activate ($username) { $ldapconnection = auth_ldap_connect(); - $userdn = auth_ldap_find_userdn($ldapconnect, $username); + $userdn = auth_ldap_find_userdn($ldapconnection, $username); $newinfo['loginDisabled']="FALSE";