Index: store.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ecommerce/store/store.module,v
retrieving revision 1.81
diff -u -r1.81 store.module
--- store.module	4 Mar 2006 03:11:34 -0000	1.81
+++ store.module	6 Mar 2006 01:24:06 -0000
@@ -256,12 +256,12 @@
 function store_user($type, &$edit, &$user) {
   // Only display the link for the user who owns it.
   if ($type == 'view' && $GLOBALS['user']->uid == $user->uid) {
-    $form[] = array(
-      '#type' => 'item',
-      '#title' => t('Orders'),
-      '#value' => l(t('View your order history'), "store/history/$user->uid")
-    );
-    return array(t('History') => array('orders' => drupal_get_form('store_user', $form)));
+    $orders[] = array(
+      'class' => 'item',
+      'title' => t('Orders'),      
+      'value' => l(t('View your order history'), 'store/history/' . $user->uid)
+     );
+    return array(t('History') => $orders);
   }
 }
 
