From 3b543c18f58bf0aa4fe5eec7071a88d58a003e9f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 25 Jan 2007 22:14:06 +0000 Subject: - Rollback of E_ALL patch. Too much extra breakage. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 2ecc1a6da..6df04ac84 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -716,7 +716,7 @@ function taxonomy_form_alter($form_id, &$form) { $form['taxonomy'][$vocabulary->vid]['#required'] = $vocabulary->required; } } - if (isset($form['taxonomy']) && is_array($form['taxonomy']) && !empty($form['taxonomy'])) { + if (is_array($form['taxonomy']) && !empty($form['taxonomy'])) { if (count($form['taxonomy']) > 1) { // Add fieldset only if form has more than 1 element. $form['taxonomy'] += array( '#type' => 'fieldset', -- cgit v1.2.3