mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX FormField::create_tag() moved to HTML::createTag()
This commit is contained in:
parent
18761879cf
commit
60a138fe9a
@ -4,6 +4,7 @@ namespace SilverStripe\Comments\Admin;
|
||||
|
||||
use SilverStripe\Forms\FormField;
|
||||
use SilverStripe\Forms\GridField\GridField;
|
||||
use SilverStripe\View\HTML;
|
||||
|
||||
class CommentsGridField extends GridField
|
||||
{
|
||||
@ -20,7 +21,7 @@ class CommentsGridField extends GridField
|
||||
$attributes['class'] .= ' spam';
|
||||
}
|
||||
|
||||
return FormField::create_tag(
|
||||
return HTML::createTag(
|
||||
'tr',
|
||||
$attributes,
|
||||
$content
|
||||
|
Loading…
Reference in New Issue
Block a user