Fix json decode
This commit is contained in:
parent
22208b622f
commit
f7c119e48c
@ -144,7 +144,7 @@ if (GETPOST('action') == 'addlead') {
|
|||||||
$entityBody = file_get_contents('php://input');
|
$entityBody = file_get_contents('php://input');
|
||||||
|
|
||||||
if ($entityBody) {
|
if ($entityBody) {
|
||||||
$arrayofdata = dol_json_decode($entityBody, true);
|
$arrayofdata = json_decode($entityBody, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
print 'Date received and lead created';
|
print 'Date received and lead created';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user