diff --git a/code/GridFieldBulkManager_Request.php b/code/GridFieldBulkManager_Request.php index 7538014..367c926 100644 --- a/code/GridFieldBulkManager_Request.php +++ b/code/GridFieldBulkManager_Request.php @@ -253,7 +253,7 @@ class GridFieldBulkManager_Request extends RequestHandler { public function getPOSTRecordList(SS_HTTPRequest $request) { $recordList = $request->requestVars(); - return $recordList['records']; + return isset($recordList['records']) ? $recordList['records'] : array(); } /**