summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorMoses Kurniawan <mokalovesoulmate@gmail.com>2016-04-12 20:05:17 +0200
committerMoses Kurniawan <mokalovesoulmate@gmail.com>2016-04-12 20:05:17 +0200
commita2f837f0931f23cc440c1b7ffd298c6fe8705fe9 (patch)
tree7581d4b8e06d27f1f45a339cbe5ed7f57e42462d /user_guide_src/source/libraries
parentb4d719dc7fb3b010b53c09e7e82f979abf731ff9 (diff)
Removed double quotes on $cid because if we using quotes, the embedded image will not appear.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/email.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst
index eadfcfd5c..0b38737f1 100644
--- a/user_guide_src/source/libraries/email.rst
+++ b/user_guide_src/source/libraries/email.rst
@@ -374,7 +374,7 @@ Class Reference
{
$this->email->to($address);
$cid = $this->email->attachment_cid($filename);
- $this->email->message('<img src='cid:". $cid ."' alt="photo1" />');
+ $this->email->message('<img src="cid:'. $cid .'" alt="photo1" />');
$this->email->send();
}