This makes sure that administrator sees some errors, when he/she adds
ldap address book to php without ldap support.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9142
7612ce4b-ef26-0410-bec9-
ea0150e637f0
if (! $onlylocal) {
/* Load configured LDAP servers (if PHP has LDAP support) */
- if (isset($ldap_server) && is_array($ldap_server) && function_exists('ldap_connect')) {
+ if (isset($ldap_server) && is_array($ldap_server)) {
reset($ldap_server);
while (list($undef,$param) = each($ldap_server)) {
if (is_array($param)) {