mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-18 12:48:41 +00:00
handle null json
This commit is contained in:
parent
cab2628062
commit
97ad384589
|
|
@ -134,7 +134,7 @@ final class HttpRequest extends RequestAbstract
|
|||
// Tested but coverage doesn't show up
|
||||
$input = \file_get_contents('php://input');
|
||||
|
||||
if ($input === false || empty($input)) {
|
||||
if ($input === false || empty($input) || $input === 'null') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user