summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Heralecky <petr@heralecky.cz>2014-01-10 12:55:57 +0100
committerPetr Heralecky <petr@heralecky.cz>2014-01-10 12:55:57 +0100
commit230fca38f3f7481686d9d9c2989ad7d0a1a4874f (patch)
tree06fe069fbba90cff75dfc3f0c33c4cfbbc368db1
parentde88615b7245f00d086d97a9fb5ea8b307d34c4f (diff)
styleguided 2
-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'];
}
}