summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Email.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 20eac72fc..01dbfbe19 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -748,8 +748,6 @@ class CI_Email {
'content' => chunk_split(base64_encode($file_content))
);
-
-
return $this;
}
@@ -774,7 +772,7 @@ class CI_Email {
{
if ($attach['name'][0] === $filename)
{
- $this->_attachments[$ind]['cid'] = uniqid(basename($this->_attachments[$i]['name'][0]).'@');
+ $this->_attachments[$i]['cid'] = uniqid(basename($this->_attachments[$i]['name'][0]).'@');
return $this->_attachments[$i]['cid'];
}
}