fix: Fixed a typo in the previous commit

pull/2128/head
iglocska 2017-04-07 16:56:55 +02:00
parent dadd9b3c81
commit 6d33845701
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class JSONConverterTool {
// remove value1 and value2 from the output and remove invalid utf8 characters for the xml parser
foreach ($event['Event']['Attribute'] as $key => $value) {
if (isset($value['SharingGroup']) && empty($value['SharingGroup'])) {
unset($event['Event']['Attribute'][$k]['SharingGroup']);
unset($event['Event']['Attribute'][$key]['SharingGroup']);
}
unset($event['Event']['Attribute'][$key]['value1']);
unset($event['Event']['Attribute'][$key]['value2']);