diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
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) |