Permalink
Browse files

MINOR Using FieldList instead of FieldSet on SelectionGroup to comply…

… with parent implementation
  • Loading branch information...
1 parent 475f376 commit 639caea949007e126d9d8dda1d779bbf03450617 @chillu chillu committed Dec 22, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 forms/SelectionGroup.php
View
8 forms/SelectionGroup.php
@@ -46,9 +46,13 @@ public function performDisabledTransformation($trans) {
$clone->setReadonly(true);
return $clone;
}
-
+
function FieldSet() {
- $items = parent::FieldSet()->toArray();
+ return $this->FieldList();
+ }
+
+ function FieldList() {
+ $items = parent::FieldList()->toArray();
$count = 0;
$firstSelected = $checked ="";

0 comments on commit 639caea

Please sign in to comment.