Merge pull request #68 from daniquilez/patch-2

FIX EditHandler Update function filters locale requestVar
This commit is contained in:
Thierry François 2014-05-22 18:53:26 +03:00
commit 9a56bdb95a

View File

@ -250,6 +250,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
if ( isset($data['url']) ) unset($data['url']);
if ( isset($data['cacheBuster']) ) unset($data['cacheBuster']);
if ( isset($data['locale']) ) unset($data['locale']);
foreach ($data as $recordID => $recordDataSet)
{
@ -280,4 +281,4 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
'records' => $return
), JSON_NUMERIC_CHECK);
}
}
}