From 60a138fe9a610c91c664381e740bbf9d664aeea2 Mon Sep 17 00:00:00 2001 From: Franco Springveldt Date: Wed, 20 Sep 2017 10:58:59 +1200 Subject: [PATCH] FIX FormField::create_tag() moved to HTML::createTag() --- src/Admin/CommentsGridField.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Admin/CommentsGridField.php b/src/Admin/CommentsGridField.php index 86b3480..732c036 100644 --- a/src/Admin/CommentsGridField.php +++ b/src/Admin/CommentsGridField.php @@ -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