From 71f3398ee8f6f81029fbfaaaf16c75960b09acb0 Mon Sep 17 00:00:00 2001 From: solotandem Date: Thu, 11 Aug 2011 10:25:23 -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..cc40caf 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_state['values']['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