From 9c945552fb5fe788b7e3ca3277fd2d8cdce9d1a6 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 2 Sep 2004 18:13:50 +0000 Subject: [PATCH] Merged from stable --- auth/ldap/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=*"; } -- 2.39.5