Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing AssetAdmin to use static FormField::create_tag()

Instead of createTag() which is deprecated
  • Loading branch information...
commit 94b37dbeb0c1e4ee245f5667270b72f2b7f61405 1 parent 33884ac
@halkyon halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/controllers/AssetAdmin.php
View
2  code/controllers/AssetAdmin.php
@@ -253,7 +253,7 @@ public function getEditForm($id = null, $fields = null) {
// TODO Replace with lazy loading on client to avoid performance hit of rendering potentially unused views
new LiteralField(
'Tree',
- $treeField->createTag(
+ FormField::create_tag(
'div',
array(
'class' => 'cms-tree',
Please sign in to comment.
Something went wrong with that request. Please try again.