mirror of https://github.com/MISP/MISP
fix: [API] Galaxies still present as Tag in JSON export fixes #4133
parent
67efc70bf5
commit
ad9db27010
|
@ -5314,7 +5314,9 @@ class Event extends AppModel
|
|||
unset($temp['GalaxyCluster']['Galaxy']);
|
||||
$data['Galaxy'][count($data['Galaxy']) - 1]['GalaxyCluster'][] = $temp['GalaxyCluster'];
|
||||
}
|
||||
unset($data[$dataType . 'Tag'][$k]);
|
||||
if ($cullGalaxyTags) {
|
||||
unset($data[$dataType . 'Tag'][$k]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue