styleguided 2
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 20eac72..01dbfbe 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -748,8 +748,6 @@
 			'content'	=> chunk_split(base64_encode($file_content))
 		);
 		
-		
-		
 		return $this;
 	}
 	
@@ -774,7 +772,7 @@
 		{
 			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'];
 			}
 		}