Fixed reference to $this, when not in object context
This commit is contained in:
parent
8f426c0c77
commit
88d94dd59f
@ -132,7 +132,7 @@ class Request
|
||||
if ('application/x-www-form-urlencoded' == $request->server->get('CONTENT_TYPE')
|
||||
&& in_array(strtoupper($request->server->get('REQUEST_METHOD', 'GET')), array('PUT', 'DELETE'))
|
||||
) {
|
||||
parse_str($this->getContent(), $data);
|
||||
parse_str($request->getContent(), $data);
|
||||
$request->request = new ParameterBag($data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user