Permalink
Browse files

Making the HtmlHelper a default helper for emails.

  • Loading branch information...
1 parent 3907c2b commit adcb80b5b9a353321787d07248e7eaa7c377f469 @markstory markstory committed Oct 2, 2011
Showing with 2 additions and 2 deletions.
  1. +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 @@ public function reset() {
$this->_template = '';
$this->_viewRender = 'View';
$this->_viewVars = array();
- $this->_helpers = array();
+ $this->_helpers = array('Html');
$this->_textMessage = '';
$this->_htmlMessage = '';
$this->_message = '';

0 comments on commit adcb80b

Please sign in to comment.