Browse Source

Making the HtmlHelper a default helper for emails.

mark_story 14 years ago
parent
commit
adcb80b5b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Cake/Network/Email/CakeEmail.php

+ 2 - 2
lib/Cake/Network/Email/CakeEmail.php

@@ -187,7 +187,7 @@ class CakeEmail {
  *
  * @var array
  */
-	protected $_helpers = array();
+	protected $_helpers = array('Html');
 
 /**
  * Text message
@@ -1051,7 +1051,7 @@ class CakeEmail {
 		$this->_template = '';
 		$this->_viewRender = 'View';
 		$this->_viewVars = array();
-		$this->_helpers = array();
+		$this->_helpers = array('Html');
 		$this->_textMessage = '';
 		$this->_htmlMessage = '';
 		$this->_message = '';