Index: hotel_addons_upgrades/hotel_addons_upgrades.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_hotel/hotel_addons_upgrades/hotel_addons_upgrades.module,v
retrieving revision 1.1
diff -u -p -r1.1 hotel_addons_upgrades.module
--- hotel_addons_upgrades/hotel_addons_upgrades.module  20 Oct 2009 19:34:30 -0000      1.1
+++ hotel_addons_upgrades/hotel_addons_upgrades.module  21 Oct 2009 06:17:29 -0000
@@ -194,6 +194,7 @@ function hotel_addons_upgrades_customer_
     // Ensure they're able to get back to edit these, even if they don't hit the "no thanks" button.
     if(!isset($cart_data['booking_upgrades'])) {
       $cart_data['booking_upgrades'] = array();
+      $cart_data['booking_upgrades_order'] = array();
       db_query('UPDATE {uc_cart_products} SET data = "%s" WHERE cart_item_id = %d', serialize($cart_data), $cart_item_id);
     }
     return $form;
@@ -210,6 +211,7 @@ function hotel_addons_upgrades_customer_
   if ($form_state['clicked_button']['#value'] == t('No Thanks') || $form_state['clicked_button']['#value'] == t('No Changes')) {
     if(!isset($cart_data['booking_upgrades'])) {
       $cart_data['booking_upgrades'] = array();
+      $cart_data['booking_upgrades_order'] = array();
       db_query('UPDATE {uc_cart_products} SET data = "%s" WHERE cart_item_id = %d', serialize($cart_data), $form_state['values']['products']['cart_item_id']);
     }
     drupal_goto('cart');
@@ -628,4 +630,4 @@ function hotel_addons_upgrades_cart_disp
     }

     return $element;
-}
\ No newline at end of file
+}
Index: hotel_booking/hotel_booking.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_hotel/hotel_booking/hotel_booking.module,v
retrieving revision 1.1
diff -u -p -r1.1 hotel_booking.module
--- hotel_booking/hotel_booking.module  20 Oct 2009 19:34:30 -0000      1.1
+++ hotel_booking/hotel_booking.module  21 Oct 2009 06:17:29 -0000
@@ -1210,18 +1210,19 @@ function hotel_booking_details_pane_orde

 function hotel_booking_order_details_table(&$item, $products, $additional = FALSE) {
   $addons = array();
-
-  foreach ($item->data['booking_upgrades_order'] as $nid => $child_id) {
-    for ($i = 0; $i < count($products); $i++) {
-      if ($products[$i]->nid == $nid && $products[$i]->data['child_id'] == $child_id) {
-        $addons[$products[$i]->nid]['order'] = $products[$i];
-        $addons[$products[$i]->nid]['data'] = $products[$i]->data;
-        $addons[$products[$i]->nid]['daily'] = ($addons[$products[$i]->nid]['data']['days']) ? TRUE : FALSE;
-        if (!$additional_items) {
-          $additional_items = (!$addons[$products[$i]->nid]['daily']) ? TRUE : FALSE;
-        }
-        if (!$daily_items) {
-          $daily_items = ($addons[$products[$i]->nid]['daily']) ? TRUE : FALSE;
+  if ($item->data['booking_upgrades_order']) {
+    foreach ($item->data['booking_upgrades_order'] as $nid => $child_id) {
+      for ($i = 0; $i < count($products); $i++) {
+        if ($products[$i]->nid == $nid && $products[$i]->data['child_id'] == $child_id) {
+          $addons[$products[$i]->nid]['order'] = $products[$i];
+          $addons[$products[$i]->nid]['data'] = $products[$i]->data;
+          $addons[$products[$i]->nid]['daily'] = ($addons[$products[$i]->nid]['data']['days']) ? TRUE : FALSE;
+          if (!$additional_items) {
+            $additional_items = (!$addons[$products[$i]->nid]['daily']) ? TRUE : FALSE;
+          }
+          if (!$daily_items) {
+            $daily_items = ($addons[$products[$i]->nid]['daily']) ? TRUE : FALSE;
+          }
         }
       }
     }
@@ -1402,4 +1403,4 @@ function hotel_booking_cart_details_tabl
     }
     return theme('table', $header, $rows);
   }
-}
\ No newline at end of file
+}