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: Andre Kiste <bergice@users.noreply.github.com>
This commit is contained in:
parent
f7a602137a
commit
4f8240bd48
@ -117,7 +117,7 @@ class Group extends DataObject
|
|||||||
{
|
{
|
||||||
$list = Group::get()->exclude('ID', $this->ID);
|
$list = Group::get()->exclude('ID', $this->ID);
|
||||||
$groups = new ArrayList();
|
$groups = new ArrayList();
|
||||||
foreach($list as $grp){
|
foreach ($list as $grp) {
|
||||||
$groups->push(['ID' => $grp->ID, 'Title' => html_entity_decode($grp->Breadcrumbs)]);
|
$groups->push(['ID' => $grp->ID, 'Title' => html_entity_decode($grp->Breadcrumbs)]);
|
||||||
}
|
}
|
||||||
$fields = new FieldList(
|
$fields = new FieldList(
|
||||||
|
Loading…
Reference in New Issue
Block a user