mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Removed used of deprecated Name() method in AssetAdmin
This commit is contained in:
parent
89bc4fa2ea
commit
070c9c22aa
@ -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