Merge pull request #163 from cvandeplas/fix/SG
fix: [tool] fix uninitialised var when no SG existdependabot/npm_and_yarn/webroot/theme/braces-3.0.3
commit
d4eaeed045
|
@ -1032,6 +1032,7 @@ class MispConnector extends CommonConnectorTools
|
||||||
$data = $response->getJson();
|
$data = $response->getJson();
|
||||||
$temp = $this->getSharingGroups();
|
$temp = $this->getSharingGroups();
|
||||||
$existingOrgs = [];
|
$existingOrgs = [];
|
||||||
|
$existingSGs = [];
|
||||||
foreach ($temp as $k => $v) {
|
foreach ($temp as $k => $v) {
|
||||||
$existingSGs[$v['uuid']] = $v;
|
$existingSGs[$v['uuid']] = $v;
|
||||||
unset($temp[$k]);
|
unset($temp[$k]);
|
||||||
|
|
Loading…
Reference in New Issue