From 639caea949007e126d9d8dda1d779bbf03450617 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 22 Dec 2011 12:38:51 +0100 Subject: [PATCH] MINOR Using FieldList instead of FieldSet on SelectionGroup to comply with parent implementation --- forms/SelectionGroup.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/forms/SelectionGroup.php b/forms/SelectionGroup.php index 06bd0e8a9..ee51fa197 100644 --- a/forms/SelectionGroup.php +++ b/forms/SelectionGroup.php @@ -46,9 +46,13 @@ class SelectionGroup extends CompositeField { $clone->setReadonly(true); return $clone; } - + function FieldSet() { - $items = parent::FieldSet()->toArray(); + return $this->FieldList(); + } + + function FieldList() { + $items = parent::FieldList()->toArray(); $count = 0; $firstSelected = $checked ="";