Merge pull request #92 from simonwelsh/patch-1

BUG: $dataFields needs to be indexed by the field name
This commit is contained in:
Thierry François 2014-11-02 20:06:58 +02:00
commit 3335105ee2
1 changed files with 1 additions and 4 deletions

View File

@ -238,10 +238,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
foreach ($editableFields as $fieldName)
{
array_push(
$dataFields,
$fields->dataFieldByName($fieldName)
);
$dataFields[$fieldName] = $fields->dataFieldByName($fieldName);
}
}
else{