mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Changing RequestHandler to use CakeRequest::input()
This commit is contained in:
parent
40fab8135a
commit
53b4a129ba
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue