Update src/Security/Group.php

Co-Authored-By: Maxime Rainville <maxime@rainville.me>
This commit is contained in:
Dileep Ratnayake 2019-08-29 15:44:41 +12:00 committed by GitHub
parent 9b7075ed5d
commit fe4eb5dd2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ class Group extends DataObject
$list = Group::get()->exclude('ID', $this->ID); $list = Group::get()->exclude('ID', $this->ID);
$groups = ArrayList::create(); $groups = ArrayList::create();
foreach ($list as $group) { foreach ($list as $group) {
$groups->push(['ID' => $group->ID, 'Title' => Convert::xml2raw($group->Breadcrumbs)]); $groups->push(['ID' => $group->ID, 'Title' => $group->getBreadcrumbs(' » ')]);
} }
return $groups; return $groups;
} }