From 1fa8c555f46fa3cccc3525e7a552b0a2158e6a20 Mon Sep 17 00:00:00 2001 From: Guillaume Heurtier <guillaume.heurtier@maarch.org> Date: Fri, 15 May 2020 16:38:15 +0200 Subject: [PATCH] FIX #12091 TIME 2:30 fix openldap synchronization script --- modules/ldap/class/class_openLDAP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ldap/class/class_openLDAP.php b/modules/ldap/class/class_openLDAP.php index 363dfe7ba5a..6d129047d7b 100755 --- a/modules/ldap/class/class_openLDAP.php +++ b/modules/ldap/class/class_openLDAP.php @@ -31,7 +31,7 @@ class LDAP { protected $_bind; - function __construct($domain,$login,$password,$ssl='false',$hostname){ + function __construct($domain,$login,$password,$ssl='false',$hostname=null){ $this->_domain = $domain; $this->_login = $login; @@ -284,4 +284,4 @@ class LDAP { } -?> \ No newline at end of file +?> -- GitLab