Commit 2093f346 authored by alexpott's avatar alexpott

Issue #2115631 by andypost, socketwench: Fixed CategoryFormController::form()...

Issue #2115631 by andypost, socketwench: Fixed CategoryFormController::form() should not define form actions.
parent 02a32e3f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment