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

View File

@ -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);
}
/**