Commit 4245bd58 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#198865 by sign: taxonomy term deletion was broken due to some leftover code

parent b339b47f
......@@ -717,8 +717,7 @@ function taxonomy_form_term(&$form_state, $vocabulary, $edit = array()) {
if ($edit['tid']) {
$form['delete'] = array(
'#type' => 'submit',
'#value' => t('Delete'),
'#submit' => array('taxonomy_term_confirm_delete'));
'#value' => t('Delete'));
$form['tid'] = array(
'#type' => 'value',
'#value' => $edit['tid']);
......
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