No need to trim double quotes

This commit is contained in:
Housseyn Guettaf 2014-07-15 16:19:32 +01:00
parent 27c9e24d17
commit bc43fe4b54

View file

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