Loading webform2pdf.module +4 −4 Changes for webform2pdf.module: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -198,10 +198,10 @@ function webform2pdf_mail_alter(&$message) { $html_capable = variable_get('webform_email_html_capable', false); if ($html_capable) { if (module_exists('mimemail')) { $attachment = new stdClass; $attachment->filecontent = theme('webform2pdf_mail2pdf', array('nid'=>$webform2pdf_send2pdf['nid'],'sid'=> $webform2pdf_send2pdf['sid'])); $attachment->filename = $filename; $attachment->filemime = 'application/pdf'; $attachment = array(); $attachment['filecontent'] = theme('webform2pdf_mail2pdf', array('nid'=>$webform2pdf_send2pdf['nid'],'sid'=> $webform2pdf_send2pdf['sid'])); $attachment['filename'] = $filename; $attachment['filemime'] = 'application/pdf'; $message['params']['attachments'][] = $attachment; } } Loading Loading
webform2pdf.module +4 −4 Changes for webform2pdf.module: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -198,10 +198,10 @@ function webform2pdf_mail_alter(&$message) { $html_capable = variable_get('webform_email_html_capable', false); if ($html_capable) { if (module_exists('mimemail')) { $attachment = new stdClass; $attachment->filecontent = theme('webform2pdf_mail2pdf', array('nid'=>$webform2pdf_send2pdf['nid'],'sid'=> $webform2pdf_send2pdf['sid'])); $attachment->filename = $filename; $attachment->filemime = 'application/pdf'; $attachment = array(); $attachment['filecontent'] = theme('webform2pdf_mail2pdf', array('nid'=>$webform2pdf_send2pdf['nid'],'sid'=> $webform2pdf_send2pdf['sid'])); $attachment['filename'] = $filename; $attachment['filemime'] = 'application/pdf'; $message['params']['attachments'][] = $attachment; } } Loading