fix: [tool] fix unitialized var when no SG exist
parent
d3f08205fb
commit
24fb241dad
|
@ -1032,6 +1032,7 @@ class MispConnector extends CommonConnectorTools
|
|||
$data = $response->getJson();
|
||||
$temp = $this->getSharingGroups();
|
||||
$existingOrgs = [];
|
||||
$existingSGs = [];
|
||||
foreach ($temp as $k => $v) {
|
||||
$existingSGs[$v['uuid']] = $v;
|
||||
unset($temp[$k]);
|
||||
|
|
Loading…
Reference in New Issue