forked from Wavyzz/dolibarr
Fix #3215 [User card] [Contact card] [Member card] Error in LDAP tab
This commit is contained in:
@@ -263,7 +263,7 @@ if (function_exists("ldap_connect"))
|
||||
$ldap = new Ldap(); // Les parametres sont passes et recuperes via $conf
|
||||
|
||||
$result = $ldap->connect_bind();
|
||||
if ($result)
|
||||
if ($result > 0)
|
||||
{
|
||||
// Test ldap connect and bind
|
||||
print img_picto('','info').' ';
|
||||
|
||||
Reference in New Issue
Block a user