Fixed reference to $this, when not in object context

This commit is contained in:
Chekote 2011-05-12 16:21:13 -05:00
parent 8f426c0c77
commit 88d94dd59f

View File

@ -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);
}