mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update src/Security/Group.php
Co-Authored-By: Maxime Rainville <maxime@rainville.me>
This commit is contained in:
parent
9b7075ed5d
commit
fe4eb5dd2a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user