mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-21 13:58:42 +00:00
Fix bug. now post data overwrites uri parameter. before it was the other way around.
This commit is contained in:
parent
5965f2a4ca
commit
4633c209a6
|
|
@ -140,7 +140,7 @@ final class Request extends RequestAbstract
|
|||
throw new \Exception('Is not valid json ' . $input);
|
||||
}
|
||||
|
||||
$this->data += $json;
|
||||
$this->data = $json + $this->data;
|
||||
} elseif (\stripos($_SERVER['CONTENT_TYPE'], 'application/x-www-form-urlencoded') !== false) {
|
||||
$content = \file_get_contents('php://input');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user