Skip to content
Browse files

BUGFIX Removed used of deprecated Name() method in AssetAdmin

  • Loading branch information...
1 parent 89bc4fa commit 070c9c22aa34695e305012d36af1b8198a500e52 @halkyon halkyon committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/AssetAdmin.php
View
2 code/controllers/AssetAdmin.php
@@ -202,7 +202,7 @@ public function getEditForm($id = null, $fields = null) {
$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);
}
}

0 comments on commit 070c9c2

Please sign in to comment.
Something went wrong with that request. Please try again.