summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/taxonomy.module1
-rw-r--r--modules/taxonomy/taxonomy.module1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index d7e27604a..8a197c60d 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -533,6 +533,7 @@ function taxonomy_form_alter($form_id, &$form) {
else {
$form['taxonomy'][$vocabulary->vid] = taxonomy_form($vocabulary->vid, array_keys($terms), $help);
$form['taxonomy'][$vocabulary->vid]['#weight'] = $vocabulary->weight;
+ $form['taxonomy'][$vocabulary->vid]['#required'] = $vocabulary->required;
}
}
if (isset($form['taxonomy'])) {
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index d7e27604a..8a197c60d 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -533,6 +533,7 @@ function taxonomy_form_alter($form_id, &$form) {
else {
$form['taxonomy'][$vocabulary->vid] = taxonomy_form($vocabulary->vid, array_keys($terms), $help);
$form['taxonomy'][$vocabulary->vid]['#weight'] = $vocabulary->weight;
+ $form['taxonomy'][$vocabulary->vid]['#required'] = $vocabulary->required;
}
}
if (isset($form['taxonomy'])) {