Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 5.0

This commit is contained in:
Laurent Destailleur 2017-05-29 10:15:30 +02:00
commit 4a330af4bf

View File

@ -833,7 +833,11 @@ class UserGroup extends CommonObject
$this->note='This is a note'; $this->note='This is a note';
$this->datec=time(); $this->datec=time();
$this->datem=time(); $this->datem=time();
$this->members=array($user->id); // Members of this group is just me
// Members of this group is just me
$this->members=array(
$user->id => $user
);
} }
} }