FIX Don't use removed method.

This commit is contained in:
Guy Sartorelli 2023-02-01 15:27:52 +13:00
parent dfcc4ce482
commit 563f253f36
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
namespace Colymba\BulkTools; namespace Colymba\BulkTools;
use SilverStripe\Control\HTTPResponse; use SilverStripe\Control\HTTPResponse;
use SilverStripe\Core\Convert;
use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridField;
use SilverStripe\ORM\ArrayList; use SilverStripe\ORM\ArrayList;
use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DataObject;
@ -348,7 +347,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
$body['isWarning'] = true; $body['isWarning'] = true;
} }
$this->body = Convert::raw2json($body); $this->body = json_encode($body);
} }
/** /**