FIX Use complete fieldlist for extracting data

This commit is contained in:
Daniel Hensby 2015-08-27 17:58:19 +01:00
parent cffb11e568
commit 899eb0b235

View File

@ -1280,7 +1280,7 @@ class Form extends RequestHandler {
if(is_object($data)) $this->record = $data;
// dont include fields without data
$dataFields = $this->fields->dataFields();
$dataFields = $this->Fields()->dataFields();
if($dataFields) foreach($dataFields as $field) {
$name = $field->getName();