Skip to content

Commit

Permalink
fix member bug on admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Sep 27, 2021
1 parent a88a1cb commit 05dc3ca
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,16 @@ public function groupSubscribers() {
$ajax = true;
}

//Need to see if coming from AdHoc or from a WG (Working Group)
if (strpos($groupName, ':') === false ) {
$groupNameFormatted = 'ref:incommon-collab:' . $groupName . ':users';
} else {
$groupNameFormatted = $groupName;
}

//Set initial
$scope = [
'groupName' => 'ref:incommon-collab:' . $groupName . ':users'
'groupName' => $groupNameFormatted
];

try {
Expand Down Expand Up @@ -258,6 +265,7 @@ public function groupOwner() {
}

}
$this->set('grouperbaseurl', $this->Session->read('Plugin.Grouper.Api.grouperUrl'));
$this->set('isuserowner', $this->GrouperGroup->isUserOwner($this->userId));
$this->set('isTemplateUser', $this->GrouperGroup->isTemplateUser($this->userId));
}
Expand Down

0 comments on commit 05dc3ca

Please sign in to comment.