Automated merge from 18.0 to 19.0 by tool pullmerge.sh

This commit is contained in:
Laurent Destailleur 2026-06-10 12:13:28 +02:00
commit 6515c4feb1

View file

@ -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);
}