Index: uc_order.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/ubercart/uc_order/uc_order.module,v
retrieving revision 1.11.2.3
diff -u -p -r1.11.2.3 uc_order.module
--- uc_order.module	29 Jan 2008 19:18:37 -0000	1.11.2.3
+++ uc_order.module	4 Feb 2008 20:35:10 -0000
@@ -331,6 +331,7 @@ function uc_order_token_values($type, $o
         $values['new-password'] = '';
       }
       $values['order-id'] = $order->order_id;
+      $values['uid'] = $order->uid;
       $values['order-url'] = url('user/'. $order->uid .'/order/'. $order->order_id, NULL, NULL, TRUE);;
       $values['order-link'] = l($order->order_id, $values['order-url']);
       $values['order-admin-url'] = url('admin/store/orders/'. $order->order_id, NULL, NULL, TRUE);
@@ -381,6 +382,7 @@ function uc_order_token_list($type = 'al
     $tokens['order']['new-username'] = t('New username associated with an order if applicable.');
     $tokens['order']['new-password'] = t('New password associated with an order if applicable.');
     $tokens['order']['order-id'] = t('The order ID.');
+    $tokens['order']['order-uid'] = t('The user ID of the order.');
     $tokens['order']['order-url'] = t('The URL to the order');
     $tokens['order']['order-link'] = t('A link to the order using the order ID.');
     $tokens['order']['order-admin-url'] = t('The URL to the admin view page using the order ID.');
@@ -2882,10 +2884,7 @@ function uc_order_get_total($order, $pro
 }
 