--- D:/Desktop/contact_attach/contact_attach.module	Thu Apr 09 00:25:58 2009
+++ D:/Desktop/contact_attach.module	Thu Dec 31 14:09:52 2009
@@ -90,11 +90,20 @@
 function contact_attach_form_alter(&$form, &$form_state, $form_id) {
   if (($form_id == 'contact_mail_user' && user_access('send attachments with user contact form')) || ($form_id == 'contact_mail_page' && user_access('send attachments with site-wide contact form')) || ($form_id == 'og_contact_mail_page' && user_access('send attachments with og contact form'))) {
     for ($i = 1; $i <= variable_get('contact_attach_number', '3'); $i++) {
-      $form['contact_attach_'. $i] = array(
-        '#type'   => 'file',
-        '#title'  => t('Attachment #!number', array('!number' => $i)),
-        '#weight' => $i,
-      );
+      if ($i > 1) {
+        $form['contact_attach_'. $i] = array(
+          '#type'   => 'file',
+          '#title'  => t('Attachment #!number', array('!number' => $i)),
+          '#weight' => $i,
+        );
+      }
+      else {
+        $form['contact_attach_1'] = array(
+          '#type'   => 'file',
+          '#title'  => t('Attachment'),
+          '#weight' => 1,
+        );
+      }
     }
 
     // We do not allow anonymous users to send themselves a copy because it
