- fix for ldap_public value checking

release-0.6
alecpl 16 years ago
parent e7b87e54a3
commit b67bcc625d

@ -823,7 +823,7 @@ if ($result = $CONTACTS->list_records())
if ($sql_arr['email'])
$a_contacts[] = format_email_recipient($sql_arr['email'], $sql_arr['name']);
}
if (isset($CONFIG['ldap_public']))
if (!empty($CONFIG['ldap_public']) && is_array($CONFIG['ldap_public']))
{
/* LDAP autocompletion */
foreach ($CONFIG['ldap_public'] as $ldapserv_config)

Loading…
Cancel
Save