Changing RequestHandler to use CakeRequest::input()

This commit is contained in:
mark_story 2011-04-30 13:09:30 -04:00
parent 40fab8135a
commit 53b4a129ba

View file

@ -174,7 +174,7 @@ class RequestHandlerComponent extends Component {
if ($this->requestedWith('xml')) {
try {
$xml = Xml::build(trim(file_get_contents('php://input')));
$xml = $controller->request->input('Xml::build');
if (isset($xml->data)) {
$controller->data = Xml::toArray($xml->data);