mirror of https://github.com/MISP/MISP
fix: [massageTag] Fallback on global tag if local parameter not set
(Tag collections tags do not contain a local parameter)pull/4915/head
parent
9d8f4a6d4a
commit
06873391f9
|
@ -5947,7 +5947,7 @@ class Event extends AppModel
|
|||
$cluster = $this->GalaxyCluster->getCluster($dataTag['Tag']['name']);
|
||||
if ($cluster) {
|
||||
$found = false;
|
||||
$cluster['GalaxyCluster']['local'] = $dataTag['local'];
|
||||
$cluster['GalaxyCluster']['local'] = isset($dataTag['local']) ? $dataTag['local'] : false;
|
||||
foreach ($data['Galaxy'] as $j => $galaxy) {
|
||||
if ($galaxy['id'] == $cluster['GalaxyCluster']['Galaxy']['id']) {
|
||||
$found = true;
|
||||
|
|
Loading…
Reference in New Issue