--- uc_order/uc_order.module	2011-05-06 12:14:25.894172808 +0200
+++ uc_order/uc_order.module.orig	2011-04-26 20:31:17.000000000 +0200
@@ -1124,15 +1124,7 @@
 /**
  * Load an order from the database.
  */
-function uc_order_load($order_id, $reset = false) {
-  static $orders = array();
-  if($reset){
-    $orders = array();
-  }else{
-    if($orders[$order_id]){
-      return $orders[$order_id];
-    }
-  }
+function uc_order_load($order_id) {
   if (is_null($order_id) || $order_id < 1) {
     return FALSE;
   }
@@ -1173,7 +1165,7 @@
     db_query("UPDATE {uc_orders} SET product_count = %d WHERE order_id = %d", $count, $order->order_id);
     $order->product_count = $count;
   }
-  $orders[$order_id] = $order;
+
   return $order;
 }
 
