mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed usage of HiddenFieldSet
This commit is contained in:
parent
2648411829
commit
ca047b64b8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user