mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-25 14:47:41 +00:00
No need to trim double quotes
This commit is contained in:
parent
27c9e24d17
commit
bc43fe4b54
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
//Fix for #532
|
||||
//Windows curl calls require a double quote around your JSON
|
||||
|
||||
$raw = trim(file_get_contents('php://input'),('"'));
|
||||
$raw = trim(file_get_contents('php://input'));
|
||||
$raw = str_replace("'",'"',$raw);
|
||||
$data = json_decode($raw,true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue