Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding missing import in EmailComponent.

Fixes #1948
  • Loading branch information...
commit 443ff922802780174bf8bb39084ebe181d691fde 1 parent ff0119b
@markstory markstory authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cake/libs/controller/components/email.php
View
3  cake/libs/controller/components/email.php
@@ -18,6 +18,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'Multibyte');
+App::import('Core', 'String');
/**
* EmailComponent
@@ -588,7 +589,7 @@ function _createHeader() {
if ($this->messageId !== false) {
if ($this->messageId === true) {
- $headers['Message-ID'] = '<' . String::UUID() . '@' . env('HTTP_HOST') . '>';
+ $headers['Message-ID'] = '<' . String::uuid() . '@' . env('HTTP_HOST') . '>';
} else {
$headers['Message-ID'] = $this->messageId;
}
Please sign in to comment.
Something went wrong with that request. Please try again.