From d4f472e9cbe3567462ea469f5d155beab4933b6c Mon Sep 17 00:00:00 2001 From: Tyler Christiansen Date: Tue, 7 Apr 2015 13:58:31 -0700 Subject: [PATCH] stop ldap_compare() from running against ldap_comparison, which would result in an error --- html/includes/authentication/ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/authentication/ldap.inc.php b/html/includes/authentication/ldap.inc.php index ef122771b8..c5e2fb686d 100644 --- a/html/includes/authentication/ldap.inc.php +++ b/html/includes/authentication/ldap.inc.php @@ -165,7 +165,7 @@ function get_userlist() $ldap_group, $config['auth_ldap_groupmemberattr'], get_membername($username)); - if (!isset($config['auth_ldap_group']) || ldap_compare($ldap_comparison === true)) { + if (!isset($config['auth_ldap_group']) || $ldap_comparison === true) { $userlist[] = array('username' => $username, 'realname' => $realname, 'user_id' => $user_id); } }