summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
commitfd32b42196978ec8df02049cccb83e5b868bfbd7 (patch)
treeffc5aaf65c34e33d2219df67cbda5346ab0c9def /modules/taxonomy
parent03752e35a41992c3d61f2591980020c87af257e7 (diff)
downloadbrdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.gz
brdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.bz2
- Patch #112715 by webchick et al: fixed some E_ALL errors.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 1f02f01d2..a1c2be20c 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 (is_array($form['taxonomy']) && !empty($form['taxonomy'])) {
+ if (isset($form['taxonomy']) && 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',