Skip to content

Commit

Permalink
Merge pull request #163 from cvandeplas/fix/SG
Browse files Browse the repository at this point in the history
fix: [tool] fix uninitialised var when no SG exist
  • Loading branch information
iglocska authored Dec 20, 2023
2 parents 26ec0b6 + 24fb241 commit d4eaeed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Lib/default/local_tool_connectors/MispConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ public function sharingGroupsAction(array $params): array
$data = $response->getJson();
$temp = $this->getSharingGroups();
$existingOrgs = [];
$existingSGs = [];
foreach ($temp as $k => $v) {
$existingSGs[$v['uuid']] = $v;
unset($temp[$k]);
Expand Down

0 comments on commit d4eaeed

Please sign in to comment.