FIX Don't use removed method.
This commit is contained in:
parent
dfcc4ce482
commit
563f253f36
|
@ -3,7 +3,6 @@
|
|||
namespace Colymba\BulkTools;
|
||||
|
||||
use SilverStripe\Control\HTTPResponse;
|
||||
use SilverStripe\Core\Convert;
|
||||
use SilverStripe\Forms\GridField\GridField;
|
||||
use SilverStripe\ORM\ArrayList;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
|
@ -348,7 +347,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
|
|||
$body['isWarning'] = true;
|
||||
}
|
||||
|
||||
$this->body = Convert::raw2json($body);
|
||||
$this->body = json_encode($body);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue