Skip to content

Commit

Permalink
change key name from member to optedin
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Feb 1, 2021
1 parent 64c6080 commit f09cef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/GrouperGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function filteredMemberOfGroups(string $userId) {
foreach($optInGroups as $key => $value) {
if ($value['name'] == $memberOfGroup['name']) {
//Match!
$memberOfGroup['member'] = true;
$memberOfGroup['optedin'] = true;
//Remove Optin group since already found and now less loops
unset($optInGroups[$key]);
break;
Expand Down

0 comments on commit f09cef0

Please sign in to comment.