From: moodler Date: Thu, 2 Sep 2004 18:13:50 +0000 (+0000) Subject: Merged from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9c945552fb5fe788b7e3ca3277fd2d8cdce9d1a6;p=moodle.git Merged from stable --- diff --git a/auth/ldap/lib.php b/auth/ldap/lib.php index 8a5ff444a4..4004013d8a 100644 --- a/auth/ldap/lib.php +++ b/auth/ldap/lib.php @@ -122,7 +122,7 @@ function auth_get_userinfo($username){ $user_dn = auth_ldap_find_userdn($ldap_connection, $username); - if (! isset($CFG->ldap_objectclass)) { + if (empty($CFG->ldap_objectclass)) { // Can't send empty filter $CFG->ldap_objectclass="objectClass=*"; }