From 8f129423cf09a7e88dafef5179a38fbbd7150353 Mon Sep 17 00:00:00 2001 From: Mellisa Hankins Date: Thu, 11 Jul 2013 17:27:46 +1000 Subject: [PATCH] FIX: Check if any records have been set --- code/GridFieldBulkManager_Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /**