mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
fix update function when working with locale
When using a localized page in order of prevent errors when iterating through records id we need to remove locale attributes same as we do with url and cacheBuster.
This commit is contained in:
parent
de7be9d8af
commit
e69253030c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user