Automated merge from 18.0 to 19.0 by tool pullmerge.sh
This commit is contained in:
commit
6515c4feb1
1 changed files with 6 additions and 0 deletions
|
|
@ -628,6 +628,12 @@ class Users extends DolibarrApi
|
|||
throw new RestException(404, 'Group not found');
|
||||
}
|
||||
|
||||
if ($load_members > 0 && is_array($group_static->members) && count($group_static->members) > 0) {
|
||||
foreach ($group_static->members as &$member) {
|
||||
$member = $this->_cleanObjectDatas($member);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_cleanObjectDatas($group_static);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue