Merge pull request #3193 from phillprice/patch-3

Update Form.php
This commit is contained in:
Damian Mooyman 2014-06-11 09:02:17 +12:00
commit fe597e32b4

View File

@ -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;