From a94b87aa3a6a764983278fcaaa70fbe2bf6f6cd2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 20 Feb 2006 16:39:23 +0000 Subject: - Patch #46705 by killes: use += instead of array_merge(). --- modules/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 8f3fe3f80..6232976e0 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -545,7 +545,7 @@ function taxonomy_form_alter($form_id, &$form) { } } if (isset($form['taxonomy'])) { - $form['taxonomy'] = array_merge($form['taxonomy'], array('#type' => 'fieldset', '#title' => t('Categories'), '#collapsible' => TRUE, '#collapsed' => FALSE, '#tree' => TRUE, '#weight' => -3)); + $form['taxonomy'] += array('#type' => 'fieldset', '#title' => t('Categories'), '#collapsible' => TRUE, '#collapsed' => FALSE, '#tree' => TRUE, '#weight' => -3); } } } -- cgit v1.2.3