diff --git a/uc_cart/uc_cart.module b/uc_cart/uc_cart.module
index 31e0555..eccb731 100644
--- a/uc_cart/uc_cart.module
+++ b/uc_cart/uc_cart.module
@@ -1300,6 +1300,9 @@ function uc_cart_get_contents($cid = NULL, $action = NULL) {
         $items[$cid] = array();
       }
     }
+    else {
+      $items[$cid] = array();
+    }
 
     // Allow other modules a chance to alter the fully loaded cart object.
     drupal_alter('uc_cart', $items[$cid]);
