From 9b7075ed5d3000444ef174ff910d2aa56f0879e2 Mon Sep 17 00:00:00 2001 From: Dileep Ratnayake Date: Tue, 27 Aug 2019 16:22:00 +1200 Subject: [PATCH] Update Group.php --- src/Security/Group.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Security/Group.php b/src/Security/Group.php index 0f3acd26d..f6a67032f 100755 --- a/src/Security/Group.php +++ b/src/Security/Group.php @@ -125,7 +125,6 @@ class Group extends DataObject */ public function getCMSFields() { - $groups = $this->getDecodedBreadcrumbs(); $fields = new FieldList( new TabSet( "Root", @@ -136,7 +135,7 @@ class Group extends DataObject $parentidfield = DropdownField::create( 'ParentID', $this->fieldLabel('Parent'), - $groups + $this->getDecodedBreadcrumbs() )->setEmptyString(' '), new TextareaField('Description', $this->fieldLabel('Description')) ),