MINOR Removed usage of HiddenFieldSet

This commit is contained in:
Ingo Schommer 2011-11-30 16:51:09 +01:00
parent 2648411829
commit ca047b64b8

View File

@ -423,7 +423,7 @@ class FieldList extends ArrayList {
* @return FieldList * @return FieldList
*/ */
function HiddenFields() { function HiddenFields() {
$hiddenFields = new HiddenFieldSet(); $hiddenFields = new FieldList();
$dataFields = $this->dataFields(); $dataFields = $this->dataFields();
if($dataFields) foreach($dataFields as $field) { if($dataFields) foreach($dataFields as $field) {