*** uc_product_kit.module.old	2012-04-25 13:23:58.000000000 -0400
--- uc_product_kit.module	2012-05-01 12:41:39.000000000 -0400
***************
*** 266,273 ****
      elseif (isset($node->items[$nid]['discount'])) {
        $discount = (float) $node->items[$nid]['discount'];
      }
!     else {
        $discount = $node->products[$nid]->discount;
      }
  
      if (isset($node->items)) {
--- 266,275 ----
      elseif (isset($node->items[$nid]['discount'])) {
        $discount = (float) $node->items[$nid]['discount'];
      }
!     elseif (isset($node->products[$nid]->discount))  {
        $discount = $node->products[$nid]->discount;
+     } else {
+       $discount = 0;
      }
  
      if (isset($node->items)) {
***************
*** 277,284 ****
  
        $product->qty = $node->items[$nid]['qty'];
      }
!     else {
        $product->qty = $node->products[$nid]->qty;
      }
      // Discounts are always saved, but they are only applied if the kit can't
      // be changed by the customer.
--- 279,288 ----
  
        $product->qty = $node->items[$nid]['qty'];
      }
!     elseif (isset($node->products[$nid]->qty))  {
        $product->qty = $node->products[$nid]->qty;
+     } else {
+       $product->qty = 1;
      }
      // Discounts are always saved, but they are only applied if the kit can't
      // be changed by the customer.
