mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: use getName() for FormField object since Name() has been deprecated in SilverStripe 3
This commit is contained in:
parent
a48254a66b
commit
029f83347b
@ -202,7 +202,7 @@ JS
|
||||
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
|
||||
$tabDetails->addExtraClass("content-galleryview");
|
||||
foreach($fields as $field) {
|
||||
$fields->removeByName($field->Name());
|
||||
$fields->removeByName($field->getName());
|
||||
$tabDetails->push($field);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user