multiple not supported
This commit is contained in:
@@ -131,7 +131,6 @@ function booking_manual_email_form($form, &$form_state)
|
|||||||
'#title' => t('Email attachment'),
|
'#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')),
|
'#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',
|
'#upload_location' => 'public://bookings/emails',
|
||||||
'#attributes' => array('multiple' => 'multiple'),
|
|
||||||
'#upload_validators' => array(
|
'#upload_validators' => array(
|
||||||
'file_validate_size' => array(10*1024*1024),
|
'file_validate_size' => array(10*1024*1024),
|
||||||
'file_validate_extensions' => array(variable_get('booking_email_allowed_attachments', 'pdf docx')),
|
'file_validate_extensions' => array(variable_get('booking_email_allowed_attachments', 'pdf docx')),
|
||||||
|
Reference in New Issue
Block a user