Permalink
Browse files

Fixing AssetAdmin to use static FormField::create_tag()

Instead of createTag() which is deprecated
  • Loading branch information...
1 parent 33884ac commit 94b37dbeb0c1e4ee245f5667270b72f2b7f61405 @halkyon halkyon committed Nov 15, 2012
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',

0 comments on commit 94b37db

Please sign in to comment.