Fix: remove html tags and decode html entities
This commit is contained in:
parent
7c394733e4
commit
443ffe3150
@ -908,7 +908,7 @@ class UserGroup extends CommonObject
|
|||||||
// Champs
|
// Champs
|
||||||
if ($this->name && ! empty($conf->global->LDAP_GROUP_FIELD_FULLNAME)) $info[$conf->global->LDAP_GROUP_FIELD_FULLNAME] = $this->name;
|
if ($this->name && ! empty($conf->global->LDAP_GROUP_FIELD_FULLNAME)) $info[$conf->global->LDAP_GROUP_FIELD_FULLNAME] = $this->name;
|
||||||
//if ($this->name && ! empty($conf->global->LDAP_GROUP_FIELD_NAME)) $info[$conf->global->LDAP_GROUP_FIELD_NAME] = $this->name;
|
//if ($this->name && ! empty($conf->global->LDAP_GROUP_FIELD_NAME)) $info[$conf->global->LDAP_GROUP_FIELD_NAME] = $this->name;
|
||||||
if ($this->note && ! empty($conf->global->LDAP_GROUP_FIELD_DESCRIPTION)) $info[$conf->global->LDAP_GROUP_FIELD_DESCRIPTION] = $this->note;
|
if ($this->note && ! empty($conf->global->LDAP_GROUP_FIELD_DESCRIPTION)) $info[$conf->global->LDAP_GROUP_FIELD_DESCRIPTION] = html_entity_decode(strip_tags($this->note));
|
||||||
if (! empty($conf->global->LDAP_GROUP_FIELD_GROUPMEMBERS))
|
if (! empty($conf->global->LDAP_GROUP_FIELD_GROUPMEMBERS))
|
||||||
{
|
{
|
||||||
$valueofldapfield=array();
|
$valueofldapfield=array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user