Merge branch '12.0' of github.com:Dolibarr/dolibarr into 12.0
This commit is contained in:
commit
78e3dd3fa8
@ -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