diff --git a/lib/Cake/Controller/Component/RequestHandlerComponent.php b/lib/Cake/Controller/Component/RequestHandlerComponent.php index df6ca78d0..1915b981a 100644 --- a/lib/Cake/Controller/Component/RequestHandlerComponent.php +++ b/lib/Cake/Controller/Component/RequestHandlerComponent.php @@ -220,7 +220,7 @@ class RequestHandlerComponent extends Component { foreach ($this->_inputTypeMap as $type => $handler) { if ($this->requestedWith($type)) { - $input = call_user_func_array(array($controller->request, 'input'), $handler); + $input = (array)call_user_func_array(array($controller->request, 'input'), $handler); $controller->request->data = $input; } }