mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Ensure GridField breadcrumbs use correct casting class (fixed #11174)
This commit is contained in:
parent
dba87348f9
commit
ea45a4d7d9
@ -890,7 +890,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
}
|
||||
|
||||
if ($this->record && $this->record->ID) {
|
||||
$title = ($this->record->Title) ? $this->record->Title : "#{$this->record->ID}";
|
||||
$title = ($this->record->Title) ? $this->record->obj('Title') : "#{$this->record->ID}";
|
||||
$items->push(ArrayData::create([
|
||||
'Title' => $title,
|
||||
'Link' => $this->Link()
|
||||
|
Loading…
Reference in New Issue
Block a user