Index: syndication.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/syndication/syndication.module,v
retrieving revision 1.50
diff -u -p -r1.50 syndication.module
--- syndication.module	1 Jun 2008 05:56:31 -0000	1.50
+++ syndication.module	5 Jun 2008 00:36:01 -0000
@@ -239,7 +239,7 @@ function syndication_taxonomy_builder() 
           $index++;
         }
       }
-      $form['categories'][$vocab->name][$vocab->name] = array(
+      $form['categories'][$vocab->vid] = array(
       '#type' => 'checkboxes',
       '#options' => $options,
       '#columns' => 4,
@@ -257,13 +257,13 @@ function syndication_taxonomy_builder() 
  * Implementation of hook_submit
  */
 function syndication_taxonomy_builder_submit($form_id, $form_values) {
+  $feed = array();
   foreach ($form_values as $category) {
     if (is_array($category) && !empty($category)) {
-	  foreach ($category as $vid => $enabled) {
-	    if ($enabled >0) {
-		  $feed[] = $vid;
-	    }
-	  }
+      $category = array_filter($category);
+      foreach ($category as $vid => $enabled) {
+        $feed[] = $vid;
+      }
     }
   }
   drupal_goto("taxonomy/term/". implode("+", $feed) ."/0/feed");
