fix: [massageTag] Fallback on global tag if local parameter not set

(Tag collections tags do not contain a local parameter)
pull/4915/head
mokaddem 2019-07-19 16:01:34 +02:00
parent 9d8f4a6d4a
commit 06873391f9
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -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;