mirror of https://github.com/MISP/MISP
fix: Fixed a typo in the previous commit
parent
dadd9b3c81
commit
6d33845701
|
@ -43,7 +43,7 @@ class JSONConverterTool {
|
|||
// remove value1 and value2 from the output and remove invalid utf8 characters for the xml parser
|
||||
foreach ($event['Event']['Attribute'] as $key => $value) {
|
||||
if (isset($value['SharingGroup']) && empty($value['SharingGroup'])) {
|
||||
unset($event['Event']['Attribute'][$k]['SharingGroup']);
|
||||
unset($event['Event']['Attribute'][$key]['SharingGroup']);
|
||||
}
|
||||
unset($event['Event']['Attribute'][$key]['value1']);
|
||||
unset($event['Event']['Attribute'][$key]['value2']);
|
||||
|
|
Loading…
Reference in New Issue