This commit is contained in:
Loz Calver 2024-04-02 14:08:58 +13:00 committed by GitHub
commit 38dd014e86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()