This commit is contained in:
Nathan Coad
2018-06-16 17:51:26 +10:00
parent 0e35a832c1
commit e86ec94bb3

View File

@@ -332,7 +332,7 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') {
'filename' => 'test.txt', 'filename' => 'test.txt',
'filemime' => 'text/plain', 'filemime' => 'text/plain',
); );
$params['attachments'][] = $attachment; $params['attachment'] = $attachment;
} }
//load the node matching this id //load the node matching this id