Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unescaped breadcrumbs for inline groups display (fixes #7936)

  • Loading branch information...
commit 89176e8f5d287560af96ebc389aa91cac2d52cac 1 parent d12ae82
@chillu chillu authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 admin/code/SecurityAdmin.php
View
5 admin/code/SecurityAdmin.php
@@ -86,6 +86,11 @@ public function getEditForm($id = null, $fields = null) {
$columns->setDisplayFields(array(
'Breadcrumbs' => singleton('Group')->fieldLabel('Title')
));
+ $columns->setFieldFormatting(array(
+ 'Breadcrumbs' => function($val, $item) {
+ return $item->getBreadcrumbs(' > ');
+ }
+ ));
$fields = new FieldList(
$root = new TabSet(
Please sign in to comment.
Something went wrong with that request. Please try again.