Index: modules/hs_taxonomy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hierarchical_select/modules/hs_taxonomy.module,v
retrieving revision 1.11
diff -u -F^f -r1.11 hs_taxonomy.module
--- modules/hs_taxonomy.module	18 Jul 2008 17:09:07 -0000	1.11
+++ modules/hs_taxonomy.module	18 Jul 2008 20:31:48 -0000
@@ -107,24 +107,22 @@ function hs_taxonomy_form_alter($form_id
         $vocabulary = taxonomy_get_vocabulary($vid);
 
         // Hierarchical Select only makes sense if there's a hierarchy.
-        if ($vocabulary->hierarchy > 0) {
-          require_once(drupal_get_path('module', 'hierarchical_select') .'/includes/common.inc');
+        require_once(drupal_get_path('module', 'hierarchical_select') .'/includes/common.inc');
 
-          // #size is set as soon as save_lineage or the dropbox is enabled,
-          // because then "multiple select" is enabled. Unset #size.
-          unset($form['taxonomy'][$vid]['#size']);
-
-          $form['taxonomy'][$vid]['#type'] = 'hierarchical_select';
-          $form['taxonomy'][$vid]['#config'] = array(
-            'module' => 'hs_taxonomy',
-            'params' => array(
-              'vid'         => $vid,
-              'exclude_tid' => NULL,
-              'root_term'   => NULL,
-            ),
-          );
-          hs_taxonomy_hierarchical_select_update_form_item($form['taxonomy'][$vid], $vid);
-        }
+        // #size is set as soon as save_lineage or the dropbox is enabled,
+        // because then "multiple select" is enabled. Unset #size.
+        unset($form['taxonomy'][$vid]['#size']);
+
+        $form['taxonomy'][$vid]['#type'] = 'hierarchical_select';
+        $form['taxonomy'][$vid]['#config'] = array(
+          'module' => 'hs_taxonomy',
+          'params' => array(
+            'vid'         => $vid,
+            'exclude_tid' => NULL,
+            'root_term'   => NULL,
+          ),
+        );
+        hs_taxonomy_hierarchical_select_update_form_item($form['taxonomy'][$vid], $vid);
       }
     }
   }
