Forráskód Böngészése

Email Class: Fix typo that effects embedded base64 image attachments.

fusionate 2 éve
szülő
commit
d91193a1f9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      resources/classes/email.php

+ 1 - 1
resources/classes/email.php

@@ -569,7 +569,7 @@ if (!class_exists('email')) {
 							else {
 								if ($attachment['base64']) {
 									if ($attachment['cid']) {
-										$email->addStringEmbeddedImage(base64_decode($attachment['base64']), $attachment['cid'], $attachment['name'], 'base64', $attachment['mime_type']);
+										$mail->addStringEmbeddedImage(base64_decode($attachment['base64']), $attachment['cid'], $attachment['name'], 'base64', $attachment['mime_type']);
 									}
 									else {
 										$mail->AddStringAttachment(base64_decode($attachment['base64']), $attachment['name'], 'base64', $attachment['mime_type']);