Index: ad.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ad/ad.module,v
retrieving revision 1.2.2.29.2.72
diff -u -r1.2.2.29.2.72 ad.module
--- ad.module	19 Apr 2008 02:02:00 -0000	1.2.2.29.2.72
+++ ad.module	13 May 2008 16:56:22 -0000
@@ -762,7 +762,6 @@
       $form['tags']['#description'] = t('If enabled, ads are categorized by typing ad group names instead of choosing them from a list.');
       $form['multiple']['#description'] = t('If enabled, allows ads to have more than one ad group (always true for free tagging).');
       $form['required']['#description'] = t('If enabled, every ad <strong>must</strong> be assigned to at least one ad group.');
-      $form['hierarchy'] = array('#type' => 'value', '#value' => 0);
       unset($form['relations']);
     }
     else {
@@ -2591,7 +2590,7 @@
     $vid = db_result(db_query("SELECT vid FROM {vocabulary} WHERE module = '%s'", 'ad'));
     if (!$vid) {
       // No vid, so we create one.
-      $edit = array('name' => 'Ad groups', 'multiple' => 1, 'required' => 0, 'hierarchy' => 0, 'relations' => 0, 'module' => 'ad', 'nodes' => array('ad' => 1));
+      $edit = array('name' => 'Ad groups', 'multiple' => 1, 'required' => 0, 'hierarchy' => 1, 'relations' => 0, 'module' => 'ad', 'nodes' => array('ad' => 1));
       taxonomy_save_vocabulary($edit);
       $vid = $edit['vid'];
     }
