From 003d8453e7669e2f029ed4e1dfaf7005633c335f Mon Sep 17 00:00:00 2001 From: William Mead Date: Wed, 17 Jan 2024 10:23:16 +0100 Subject: [PATCH] Fixed bind type --- htdocs/core/class/ldap.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = '';