Skip to content

Commit

Permalink
Fix method casing.
Browse files Browse the repository at this point in the history
Closes #12241
  • Loading branch information
markstory committed Jun 30, 2018
1 parent 130714f commit fd568e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/Email/CakeEmail.php
Expand Up @@ -788,7 +788,7 @@ public function getHeaders($include = array()) {
}
if ($this->_messageId !== false) {
if ($this->_messageId === true) {
$headers['Message-ID'] = '<' . str_replace('-', '', CakeText::UUID()) . '@' . $this->_domain . '>';
$headers['Message-ID'] = '<' . str_replace('-', '', CakeText::uuid()) . '@' . $this->_domain . '>';
} else {
$headers['Message-ID'] = $this->_messageId;
}
Expand Down

0 comments on commit fd568e7

Please sign in to comment.