Index: shipping.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/ecommerce/shipping/shipping.module,v
retrieving revision 1.43.2.3.2.1.2.15
diff -u -r1.43.2.3.2.1.2.15 shipping.module
--- shipping.module	16 Oct 2007 03:30:31 -0000	1.43.2.3.2.1.2.15
+++ shipping.module	11 Apr 2008 15:38:59 -0000
@@ -341,13 +341,15 @@
         $txn->misc[$key]->price = $txn->ship['cost'];
       }
       else {
-         $misc = array(
-           'type' => 'shipping',
-           'description' => t('Shipping'),
-           'price' => $txn->ship['cost'],
-           'weight' => 9
-         );
-         $txn->misc[] = (object)$misc;
+        if(!empty($txn->ship['cost'])){
+           $misc = array(
+             'type' => 'shipping',
+             'description' => t('Shipping'),
+             'price' => $txn->ship['cost'],
+             'weight' => 9
+           );
+           $txn->misc[] = (object)$misc;
+        }
       }
       break;
   }

