mirror of https://github.com/MISP/MISP
fix: [Restresponse] fixed XML converter
parent
a2f073e6d1
commit
ba74597e87
|
@ -374,7 +374,7 @@ class RestResponseComponent extends Component
|
|||
}
|
||||
}
|
||||
$response = array('response' => $response);
|
||||
$response = Xml::build($response);
|
||||
$response = Xml::fromArray($response, array('format' => 'tags'));
|
||||
$response = $response->asXML();
|
||||
}
|
||||
$type = 'xml';
|
||||
|
|
Loading…
Reference in New Issue