[*] группы переделаны в роли

This commit is contained in:
rsgrinko committed 2022-06-18 00:08:26 +03:00
1 parent e996216d44
commit f5c25db31e
6 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@
<td><?=$elUser['image'] ? '<img src="'.$elUser['image'].'" width="50px">' : ''; ?></td>
<td><?php
$arGroups = [];
foreach($userObject->getGroupsObject()->getFullGroup() as $userGroup) {
foreach($userObject->getRolesObject()->getFullGroup() as $userGroup) {
$arGroups[] = $userGroup['name'] . ' (' . $userGroup['id'] . ')';
}
echo implode(', ', $arGroups);