diff --git a/htdocs/conf/conf.php.example b/htdocs/conf/conf.php.example index f3cd80a6309..b006e884208 100644 --- a/htdocs/conf/conf.php.example +++ b/htdocs/conf/conf.php.example @@ -1,304 +1,304 @@ diff --git a/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php b/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php index 949854e0961..542150f217b 100644 --- a/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php +++ b/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php @@ -217,11 +217,11 @@ class InterfaceLdapsynchro $info=$object->_load_ldap_info(); $dn=$object->_load_ldap_dn($info); - + // Get a gid number for objectclass PosixGroup if(in_array('posixGroup',$info['objectclass'])) $info['gidNumber'] = $ldap->getNextGroupGid(); - + $result=$ldap->add($dn,$info,$user); if ($result < 0) { @@ -482,7 +482,7 @@ class InterfaceLdapsynchro dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id); if ($conf->ldap->enabled && $conf->global->LDAP_MEMBER_ACTIVE) { - # If status field is setup to be synchronized + // If status field is setup to be synchronized if ($conf->global->LDAP_FIELD_MEMBER_STATUS) { $ldap=new Ldap(); diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php index 934abcd65f0..fb2f6f966f8 100644 --- a/htdocs/install/etape1.php +++ b/htdocs/install/etape1.php @@ -753,15 +753,13 @@ function write_conf_file($conffile) { clearstatcache(); - fputs($fp, '