Browse Source

Double base64 encoding fix

MP-Network Development 8 years ago
parent
commit
6c924c5923
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/Mailer/Email.php

+ 0 - 1
src/Mailer/Email.php

@@ -214,7 +214,6 @@ class Email extends CakeEmail {
 				if (is_int($name)) {
 					throw new InvalidArgumentException('No filename specified.');
 				}
-				$fileInfo['data'] = chunk_split(base64_encode($fileInfo['data']), 76, "\r\n");
 			} else {
 				$fileName = $fileInfo['file'];
 				if (!preg_match('~^https?://~i', $fileInfo['file'])) {