mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 08:20:54 -04:00
Fix invoice email pdf attachment being 0 size (#624)
This commit is contained in:
@@ -545,6 +545,3 @@ $config['rewrite_short_tags'] = FALSE;
|
||||
| Array: array('10.0.1.200', '192.168.5.0/24')
|
||||
*/
|
||||
$config['proxy_ips'] = '';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" rev="stylesheet" href="<?php echo base_url();?>dist/invoice_email.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url() . 'dist/invoice_email.css';?>"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1469,6 +1469,7 @@ class CI_Email {
|
||||
.'Content-Disposition: '.$this->_attachments[$i]['disposition'].';'.$this->newline
|
||||
.'Content-Transfer-Encoding: base64'.$this->newline
|
||||
.(empty($this->_attachments[$i]['cid']) ? '' : 'Content-ID: <'.$this->_attachments[$i]['cid'].'>'.$this->newline.$this->newline)
|
||||
.$this->newline
|
||||
.$this->_attachments[$i]['content'].$this->newline;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user