fix: [Restresponse] fixed XML converter

pull/3941/head
iglocska 2018-12-12 19:23:40 +01:00
parent a2f073e6d1
commit ba74597e87
1 changed files with 1 additions and 1 deletions

View File

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