summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-07-16 07:54:16 +0000
committeralecpl <alec@alec.pl>2008-07-16 07:54:16 +0000
commitb67bcc625d73e7da1e825704d220a8432e01869d (patch)
treeb3cdd7aa6b40044c6746d980a13708af25fd7df0
parente7b87e54a3e63cf0d1a4d869c260069e65c98a11 (diff)
- fix for ldap_public value checking
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 5d23c1533..f3ab4cec6 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -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)