Index: modules/hs_content_taxonomy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hierarchical_select/modules/hs_content_taxonomy.module,v
retrieving revision 1.3
diff -u -F^f -r1.3 hs_content_taxonomy.module
--- modules/hs_content_taxonomy.module	18 May 2008 23:55:03 -0000	1.3
+++ modules/hs_content_taxonomy.module	19 May 2008 00:14:33 -0000
@@ -61,7 +61,7 @@ function hs_content_taxonomy_config_form
 
   // Extract the necessary context from the $field array.
   $vid = $field['vid'];
-  $depth = $field['depth'];
+  $depth = (empty($field['depth'])) ? 0 : $field['depth'];
   $dropbox_status = $field['multiple'];
 
   // Add the Hierarchical Select config form.
@@ -187,7 +187,7 @@ function hs_content_taxonomy_widget($op,
     $field_name = $field['field_name'];
     $vid        = $field['vid'];
     $tid        = $field['tid'];
-    $depth      = $field['depth'];
+    $depth      = (empty($field['depth'])) ? 0 : $field['depth'];
 
     switch ($op) {
       case 'form':
