add ajax tooltip on usergroup

This commit is contained in:
Frédéric FRANCE 2023-02-03 09:46:04 +01:00
parent 140a3b462d
commit 6ab742a530

View File

@ -785,7 +785,7 @@ if ($action == 'create' || $action == 'adduserldap') {
print "<br>";
if (isModEnabled('ldap')et($conf->global->LDAP_SYNCHRO_ACTIVE) && getDolGlobalInt('LDAP_SYNCHRO_ACTIVE') === Ldap::SYNCHRO_LDAP_TO_DOLIBARR)) {
if (isModEnabled('ldap') && (isset($conf->global->LDAP_SYNCHRO_ACTIVE) && getDolGlobalInt('LDAP_SYNCHRO_ACTIVE') === Ldap::SYNCHRO_LDAP_TO_DOLIBARR)) {
// Show form to add an account from LDAP if sync LDAP -> Dolibarr is set
$ldap = new Ldap();
$result = $ldap->connect_bind();