diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-26 08:33:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-26 08:33:20 +0000 |
commit | 7946eca135a8d936d1cdc5a8f686702462ffa769 (patch) | |
tree | f7e7d595400e1f3b23c8c1c58a2edfd356e7739b /modules/taxonomy.module | |
parent | 5d43619ca7afa5ba7a876834cb291d7a3a5e9c29 (diff) | |
download | brdo-7946eca135a8d936d1cdc5a8f686702462ffa769.tar.gz brdo-7946eca135a8d936d1cdc5a8f686702462ffa769.tar.bz2 |
- Patch #35926 by asimmonds: make required vocabularies actually required.
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 1 |
1 files changed, 1 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'])) { |