Merge pull request #15951 from FHenry/12_fix_update_groupname

fix: update group name
This commit is contained in:
Laurent Destailleur 2021-01-12 20:26:17 +01:00 committed by GitHub
commit 2b9ce6995f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -675,6 +675,10 @@ class UserGroup extends CommonObject
{
global $user, $conf;
if (empty($this->nom) && !empty($this->name)) {
$this->nom = $this->name;
}
$entity = $conf->entity;
if (!empty($conf->multicompany->enabled) && $conf->entity == 1)
{