Merge branch '12.0' of github.com:Dolibarr/dolibarr into 12.0

This commit is contained in:
Florian HENRY 2021-01-12 21:44:48 +01:00
commit 78e3dd3fa8

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)
{