diff --git a/htdocs/core/class/ldap.class.php b/htdocs/core/class/ldap.class.php index 9c8c08ec51a..3d0bfc134ea 100644 --- a/htdocs/core/class/ldap.class.php +++ b/htdocs/core/class/ldap.class.php @@ -79,7 +79,7 @@ class Ldap public $domainFQDN; /** - * @var int bind + * @var bool bind */ public $bind; @@ -270,7 +270,7 @@ class Ldap global $dolibarr_main_auth_ldap_debug; $connected = 0; - $this->bind = 0; + $this->bind = false; $this->error = ''; $this->connectedServer = '';