From 899eb0b235859c843890c790e99c03f4fd4b825c Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 27 Aug 2015 17:58:19 +0100 Subject: [PATCH] FIX Use complete fieldlist for extracting data --- forms/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/Form.php b/forms/Form.php index 7db923a8c..4722e2b4c 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -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();