BUGFIX Removed used of deprecated Name() method in AssetAdmin

This commit is contained in:
Sean Harvey 2012-04-04 12:05:38 +12:00
parent 89bc4fa2ea
commit 070c9c22aa

View File

@ -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);
}
}