Index: store.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ecommerce/store/store.module,v
retrieving revision 1.77
diff -d -u -r1.77 store.module
--- store.module	8 Jan 2006 05:31:04 -0000	1.77
+++ store.module	31 Jan 2006 14:39:03 -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")
+    $orders[] = array(
+      'class' => '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)));
+    return array(t('History') => $orders);
   }
 }
 
