Fix: envoi des données ldap en utf8
This commit is contained in:
parent
f4443856b5
commit
92acdf65df
@ -237,9 +237,9 @@ class Contact
|
|||||||
$info["objectclass"]=split(',',$conf->global->LDAP_CONTACT_OBJECT_CLASS);
|
$info["objectclass"]=split(',',$conf->global->LDAP_CONTACT_OBJECT_CLASS);
|
||||||
|
|
||||||
// Champs
|
// Champs
|
||||||
if ($this->fullname && $conf->global->LDAP_FIELD_FULLNAME) $info[$conf->global->LDAP_FIELD_FULLNAME] = $this->fullname;
|
if ($this->fullname && $conf->global->LDAP_FIELD_FULLNAME) $info[$conf->global->LDAP_FIELD_FULLNAME] = utf8_encode($this->fullname);
|
||||||
if ($this->name && $conf->global->LDAP_FIELD_NAME) $info[$conf->global->LDAP_FIELD_NAME] = $this->name;
|
if ($this->name && $conf->global->LDAP_FIELD_NAME) $info[$conf->global->LDAP_FIELD_NAME] = utf8_encode($this->name);
|
||||||
if ($this->firstname && $conf->global->LDAP_FIELD_FIRSTNAME) $info[$conf->global->LDAP_FIELD_FIRSTNAME] = $this->firstname;
|
if ($this->firstname && $conf->global->LDAP_FIELD_FIRSTNAME) $info[$conf->global->LDAP_FIELD_FIRSTNAME] = utf8_encode($this->firstname);
|
||||||
|
|
||||||
if ($this->poste) $info["title"] = $this->poste;
|
if ($this->poste) $info["title"] = $this->poste;
|
||||||
if ($this->socid > 0)
|
if ($this->socid > 0)
|
||||||
|
|||||||
@ -216,4 +216,5 @@ JuridicalStatus200=Independant
|
|||||||
DeleteFile=Delete file
|
DeleteFile=Delete file
|
||||||
ConfirmDeleteFile=Are you sure you want to delete this file?
|
ConfirmDeleteFile=Are you sure you want to delete this file?
|
||||||
AllocateCommercial=Allocate a commercial
|
AllocateCommercial=Allocate a commercial
|
||||||
SelectCountry=Select a country
|
SelectCountry=Select a country
|
||||||
|
SelectCompany=Select a third party
|
||||||
@ -219,4 +219,5 @@ CardCompany=Fiche Soci
|
|||||||
DeleteFile=Suppression d'un fichier
|
DeleteFile=Suppression d'un fichier
|
||||||
ConfirmDeleteFile=Êtes-vous sûr de vouloir supprimer ce fichier ?
|
ConfirmDeleteFile=Êtes-vous sûr de vouloir supprimer ce fichier ?
|
||||||
AllocateCommercial=Affecter un commercial
|
AllocateCommercial=Affecter un commercial
|
||||||
SelectCountry=Sélectionner un pays
|
SelectCountry=Sélectionner un pays
|
||||||
|
SelectCompany=Sélectionner un tiers
|
||||||
Loading…
Reference in New Issue
Block a user