diff options
-rw-r--r-- | modules/taxonomy/taxonomy.module | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index b64447a4c..3a2cd52b4 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -679,14 +679,10 @@ function taxonomy_form_alter($form_id, &$form) { '#title' => t('Categories'), '#collapsible' => TRUE, '#collapsed' => FALSE, - '#tree' => TRUE, - '#weight' => -3, ); } - else { - $form['taxonomy'] = array_shift($form['taxonomy']); - $form['taxonomy']['#weight'] = -3; - } + $form['taxonomy']['#weight'] = -3; + $form['taxonomy']['#tree'] = TRUE; } } } |