mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
fe597e32b4
@ -1249,7 +1249,7 @@ class Form extends RequestHandler {
|
||||
$dataFields = $this->fields->saveableFields();
|
||||
$lastField = null;
|
||||
if($dataFields) foreach($dataFields as $field) {
|
||||
// Skip fields that have been exlcuded
|
||||
// Skip fields that have been excluded
|
||||
if($fieldList && is_array($fieldList) && !in_array($field->getName(), $fieldList)) continue;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user