Skip to content

Commit

Permalink
fixed error on Sympa Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Apr 8, 2021
1 parent 5c1f122 commit 0ea9436
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Lib/GrouperApiAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ public function createGroupWithTemplate(array $queryData) {
$data = $queryData['data'];
$userId = $queryData['userId'];

//need to take out SympaDomain if domain not being created.
if ($data['gsh_input_isSympa'] == 'false') {
unset($data['gsh_input_sympaDomain']);
unset($data['gsh_input_isSympaModerated']);
}

//Build request logic
$inputFields = array();
foreach($data as $key => $value) {
Expand Down

0 comments on commit 0ea9436

Please sign in to comment.