mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX Don't use removed method.
This commit is contained in:
parent
dfcc4ce482
commit
563f253f36
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user