diff --git a/code/CMSBatchActionHandler.php b/code/CMSBatchActionHandler.php index 89de7109..e4ae65d4 100644 --- a/code/CMSBatchActionHandler.php +++ b/code/CMSBatchActionHandler.php @@ -99,7 +99,7 @@ class CMSBatchActionHandler extends RequestHandler { $applicableIDs = $ids; } - $response = new HTTPResponse(json_encode($applicableIDs)); + $response = new SS_HTTPResponse(json_encode($applicableIDs)); $response->addHeader("Content-type", "application/json"); return $response; }