From 95501c13bfa060b26171ee6c80d570897b9f22fa Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 27 Mar 2005 09:09:06 +0000 Subject: [PATCH] missing extension problems are handled inside backend class. 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 --- functions/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/addressbook.php b/functions/addressbook.php index 54e16d01..90de7dab 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -139,7 +139,7 @@ function addressbook_init($showerr = true, $onlylocal = false) { 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)) { -- 2.25.1