mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge pull request #238 from purplespider/ss5-fix-json2array
SS5 Fix: Replace json2array with json_decode
This commit is contained in:
commit
741a20272a
@ -114,7 +114,7 @@ class BulkUploadHandler extends RequestHandler
|
||||
|
||||
if ($uploadResponse->getStatusCode() == 200)
|
||||
{
|
||||
$responseData = Convert::json2array($uploadResponse->getBody());
|
||||
$responseData = json_decode($uploadResponse->getBody(), true);
|
||||
$responseData = array_shift($responseData);
|
||||
|
||||
$record = $this->createDataObject($responseData['id']);
|
||||
|
Loading…
Reference in New Issue
Block a user