fix: [notice] undefined index is_galaxy

pull/8625/head
Luciano Righetti 2022-09-27 15:10:33 +02:00
parent 5d7015854f
commit baad056b24
No known key found for this signature in database
GPG Key ID: CB91F2A37C557248
1 changed files with 1 additions and 1 deletions

View File

@ -2211,7 +2211,7 @@ class Event extends AppModel
foreach ($event['Attribute'] as &$attribute) {
if (isset($attribute['AttributeTag'])) {
foreach ($attribute['AttributeTag'] as $attributeTag) {
if (!$attributeTag['Tag']['is_galaxy']) {
if (isset($attributeTag['Tag']['is_galaxy']) && !$attributeTag['Tag']['is_galaxy']) {
continue;
}
$tagId = $attributeTag['Tag']['id'];