From 2093f3465b77415fd9f8f5e15eaa512526b9600b Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 15 Jul 2014 00:15:16 +0100
Subject: [PATCH] Issue #2115631 by andypost, socketwench: Fixed
 CategoryFormController::form() should not define form actions.

---
 core/modules/contact/src/CategoryForm.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/core/modules/contact/src/CategoryForm.php b/core/modules/contact/src/CategoryForm.php
index 2147698f26d8..73fce38a7c29 100644
--- a/core/modules/contact/src/CategoryForm.php
+++ b/core/modules/contact/src/CategoryForm.php
@@ -65,11 +65,6 @@ public function form(array $form, array &$form_state) {
       '#title' => t('Make this the default category.'),
       '#default_value' => $default_category === $category->id(),
     );
-    $form['actions'] = array('#type' => 'actions');
-    $form['actions']['submit'] = array(
-      '#type' => 'submit',
-      '#value' => t('Save'),
-    );
 
     return $form;
   }
-- 
GitLab