Fix json decode

This commit is contained in:
Laurent Destailleur 2021-02-24 13:02:36 +01:00
parent 22208b622f
commit f7c119e48c

View File

@ -144,7 +144,7 @@ if (GETPOST('action') == 'addlead') {
$entityBody = file_get_contents('php://input');
if ($entityBody) {
$arrayofdata = dol_json_decode($entityBody, true);
$arrayofdata = json_decode($entityBody, true);
}
print 'Date received and lead created';