Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Removed used of deprecated Name() method in AssetAdmin

  • Loading branch information...
commit 070c9c22aa34695e305012d36af1b8198a500e52 1 parent 89bc4fa
@halkyon halkyon authored
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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.