Modify Request based on feedback from Mike.

pull/116/head
Berkus Decker 11 years ago
parent 62c4f2fa0b
commit c0c7b9dcd9

@ -185,12 +185,8 @@ class Request {
$this->query->setData($_GET);
}
if ($this->type == 'application/json' && $this->body != '')
{
$v = json_decode($this->body, true);
if ($v) {
$this->json = /*new Collection(*/$v;//);
}
if ($this->type == 'application/json' && $this->body != '') {
$this->json = json_decode($this->body, true);
}
}

Loading…
Cancel
Save