Index: file.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ecommerce/file/file.module,v
retrieving revision 1.31
diff -u -r1.31 file.module
--- file.module	4 Mar 2006 00:34:55 -0000	1.31
+++ file.module	6 Mar 2006 01:27:59 -0000
@@ -213,12 +213,12 @@
 function file_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('Downloads'),
-      '#default_value' => l(t('View your downloads'), "store/myfiles/$user->uid")
+    $files[] = array(
+      'class' => 'item',
+      'title' => t('Downloads'),
+      'value' => l(t('View your downloads'), 'store/myfiles/' . $user->uid)
     );
-    return array(t('History') => drupal_get_form('file_user', $form));
+    return array(t('History') => $files);
   }
 }
 
