Skip to content

Commit 5dc5d8f

Browse files
committed
Update Email.php
fix for undefined index cid error
1 parent c3b33f5 commit 5dc5d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Email/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ public function setAttachmentCID($filename)
760760

761761
$this->attachments[$i]['cid'] = uniqid(basename($attachment['name'][0]) . '@', true);
762762

763-
return $attachment['cid'];
763+
return $this->attachments[$i]['cid'];
764764
}
765765
}
766766

0 commit comments

Comments
 (0)