get circle users

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-10-15 13:56:12 +02:00
parent 84dc4ce1dd
commit e0808273ec

View File

@@ -272,7 +272,8 @@ class PermissionService {
} }
foreach ($circle->getMembers() as $user) { foreach ($circle->getMembers() as $user) {
//$users[$user->getUserId()] = new User($user); $iuser = $this->userManager->get($user->getUserId());
$users[$user->getUserId()] = new User($iuser);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
$this->logger->info('Member not found in circle that was accessed. This should not happen.'); $this->logger->info('Member not found in circle that was accessed. This should not happen.');