From 16daa5e45679f4aea5f9cb8d2cd8ae03c4acec88 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 16 Feb 2015 23:51:35 -0500 Subject: [PATCH] Fixed $extldap_config['port'] variable - refs BT#9157 --- main/auth/external_login/ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/auth/external_login/ldap.inc.php b/main/auth/external_login/ldap.inc.php index d504a0a921..9b3f6e9f63 100755 --- a/main/auth/external_login/ldap.inc.php +++ b/main/auth/external_login/ldap.inc.php @@ -48,7 +48,7 @@ function extldap_connect() $ds = ldap_connect($host); } if (!$ds) { - $port = isset($extldap_config['port']) ? $ldap_config['port'] : 389; + $port = isset($extldap_config['port']) ? $extldap_config['port'] : 389; error_log('EXTLDAP ERROR : cannot connect to '.$extldap_config['host'].':'.$port); } else { break;