mirror of https://github.com/MISP/MISP
fix: [UI] Undefined index
parent
c5cecdc6fa
commit
0aefe8c3f2
|
@ -1715,6 +1715,7 @@ class AttributesController extends AppController
|
|||
$cluster = $clusters[$attributeTag['Tag']['id']];
|
||||
$galaxyId = $cluster['Galaxy']['id'];
|
||||
$cluster['local'] = $attributeTag['local'] ?? false;
|
||||
$cluster['attribute_tag_id'] = $attributeTag['id'];
|
||||
if (isset($attribute['Attribute']['Galaxy'][$galaxyId])) {
|
||||
unset($cluster['Galaxy']);
|
||||
$galaxies[$galaxyId]['GalaxyCluster'][] = $cluster;
|
||||
|
|
Loading…
Reference in New Issue