From af942dadd4036b5bbd2fab93eb42e068577a8c38 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sun, 17 Jun 2018 05:02:29 +1000 Subject: [PATCH] test multiple attachments for emails --- booking.email_manually.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/booking.email_manually.inc b/booking.email_manually.inc index 994a35e..ad36890 100644 --- a/booking.email_manually.inc +++ b/booking.email_manually.inc @@ -131,6 +131,7 @@ function booking_manual_email_form($form, &$form_state) '#title' => t('Email attachment'), '#description' => t('Attach a file to be emailed. Note that this only works with custom email types. File must be 10MB or less, and extension must be one of: ' . variable_get('booking_email_allowed_attachments', 'pdf docx')), '#upload_location' => 'public://bookings/emails', + '#attributes' => array('multiple' => 'multiple'), '#upload_validators' => array( 'file_validate_size' => array(10*1024*1024), 'file_validate_extensions' => array(variable_get('booking_email_allowed_attachments', 'pdf docx')),