Index: uc_order.module
===================================================================
--- uc_order.module	(revisione 1100)
+++ uc_order.module	(revisione 1223)
@@ -1106,6 +1106,11 @@
  * Load an order from the database.
  */
 function uc_order_load($order_id) {
+  static $orders = array();
+  if($orders[$order_id]){
+    return $orders[$order_id];
+  }
+
   if (is_null($order_id) || $order_id < 1) {
     return FALSE;
   }
@@ -1146,7 +1151,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;
 }
 
