Skip to content
This repository

Allow default Helpers to be set by EmailConfig. #509

Closed
wants to merge 1 commit into from

2 participants

Matt Hamann Mark Story
Matt Hamann

No description provided.

Matt Hamann

I'll look into getting test cases set up as soon as I can. This change is working on a local project, but I should probably test against plugins as well.

Mark Story
Owner

Merged into 2.2 in [a7ef245]

Mark Story markstory closed this June 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 21, 2012
Matt Hamann Added 'helpers' to _applyConfig, so that the default Helpers can be m…
…odified by EmailConfig setup.
b73f73e
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/Network/Email/CakeEmail.php
2  lib/Cake/Network/Email/CakeEmail.php
@@ -1044,7 +1044,7 @@ protected function _applyConfig($config) {
1044 1044
 		$simpleMethods = array(
1045 1045
 			'from', 'sender', 'to', 'replyTo', 'readReceipt', 'returnPath', 'cc', 'bcc',
1046 1046
 			'messageId', 'subject', 'viewRender', 'viewVars', 'attachments',
1047  
-			'transport', 'emailFormat'
  1047
+			'transport', 'emailFormat', 'helpers'
1048 1048
 		);
1049 1049
 		foreach ($simpleMethods as $method) {
1050 1050
 			if (isset($config[$method])) {
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.