mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX: fix field class detection
using the action function that returns the class...
This commit is contained in:
parent
b8a0a1e14f
commit
4e5271f527
@ -62,8 +62,7 @@ class GridFieldBulkEditingHelper {
|
|||||||
{
|
{
|
||||||
foreach ($dataFields as $fieldName => $field)
|
foreach ($dataFields as $fieldName => $field)
|
||||||
{
|
{
|
||||||
//@TODO find PHP function that return the classname
|
if ( in_array(get_class($field), $config['fieldsClassBlacklist']) )
|
||||||
if ( in_array($field->ClassName, $config['fieldsClassBlacklist']) )
|
|
||||||
{
|
{
|
||||||
array_push($config['fieldsNameBlacklist'], $fieldName);
|
array_push($config['fieldsNameBlacklist'], $fieldName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user