From 851aefe508f591ab5b4416c5ac2d8e9e678fcde8 Mon Sep 17 00:00:00 2001 From: solotandem Date: Fri, 5 Aug 2011 18:10:45 -0500 Subject: #778472: Restore multiple select setting on a vocabulary when hierarchical select is not being used for the vocabulary. --- modules/hs_taxonomy.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/hs_taxonomy.module b/modules/hs_taxonomy.module index 1829837..40ab5a3 100644 --- a/modules/hs_taxonomy.module +++ b/modules/hs_taxonomy.module @@ -754,7 +754,7 @@ function _hs_taxonomy_token_termpath_for_vid($selection, $vid) { */ function hierarchical_select_taxonomy_form_vocabulary_validate($form, &$form_state) { // The "multiple select" setting doesn't exist for the forum vocabulary! - if (isset($form['settings']['multiple'])) { + if ($form['settings']['hierarchical_select_status'] && isset($form['settings']['multiple'])) { // Enable Taxonomy's "multiple select" setting when: // - Hierarchical Select's "multiple select" setting is enabled, or: // - Hierarchical Select's "save term lineage" setting is enabled -- 1.7.6