From 690804580ed54987f8c698621b7c4ad836cb64d5 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 6 May 2009 11:28:47 +0000
Subject: [PATCH] - Patch #366610 by mr.baileys: make sure we generate valid
 markup.

---
 modules/upload/upload.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index e71099b27907..defea1037230 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -449,7 +449,7 @@ function theme_upload_attachments($elements) {
     }
   }
   if (count($rows)) {
-    return theme('table', $header, $rows, array('id' => 'attachments'));
+    return theme('table', $header, $rows, array('class' => 'attachments'));
   }
 }
 
-- 
GitLab