diff --git a/app/Lib/Tools/XMLConverterTool.php b/app/Lib/Tools/XMLConverterTool.php index ef7653db5..7ba4e924f 100644 --- a/app/Lib/Tools/XMLConverterTool.php +++ b/app/Lib/Tools/XMLConverterTool.php @@ -147,7 +147,9 @@ class XMLConverterTool } if (!empty($event['Event']['Object'])) { foreach ($event['Event']['Object'] as $k => $v) { - $event['Event']['Object'][$k]['Attribute'] = $this->__rearrangeAttributes($event['Event']['Object'][$k]['Attribute']); + if (!empty($event['Event']['Object'][$k]['Attribute'])) { + $event['Event']['Object'][$k]['Attribute'] = $this->__rearrangeAttributes($event['Event']['Object'][$k]['Attribute']); + } } } if (isset($event['Event']['ShadowAttribute'])) {