From d3c5173c5bea774c25444a0c1031ef80710ef0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 21 Apr 2020 16:14:38 +0200 Subject: [PATCH] Update usergroup.class.php --- htdocs/user/class/usergroup.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php index c897db44412..2cf11c3851f 100644 --- a/htdocs/user/class/usergroup.class.php +++ b/htdocs/user/class/usergroup.class.php @@ -654,6 +654,9 @@ class UserGroup extends CommonObject global $user, $conf; $this->datec = dol_now(); + if (empty($this->nom) && !empty($this->name)) { + $this->nom = $this->name; + } if (!isset($this->entity)) $this->entity = $conf->entity; // If not defined, we use default value $entity = $this->entity;