Merge pull request #15951 from FHenry/12_fix_update_groupname
fix: update group name
This commit is contained in:
commit
2b9ce6995f
@ -675,6 +675,10 @@ class UserGroup extends CommonObject
|
|||||||
{
|
{
|
||||||
global $user, $conf;
|
global $user, $conf;
|
||||||
|
|
||||||
|
if (empty($this->nom) && !empty($this->name)) {
|
||||||
|
$this->nom = $this->name;
|
||||||
|
}
|
||||||
|
|
||||||
$entity = $conf->entity;
|
$entity = $conf->entity;
|
||||||
if (!empty($conf->multicompany->enabled) && $conf->entity == 1)
|
if (!empty($conf->multicompany->enabled) && $conf->entity == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user