Adding fix to EmailComponent, would not use custom view.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5862 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-10-22 17:24:37 +00:00
parent dfa840ad92
commit f5be2ded4b

View file

@ -360,7 +360,7 @@ class EmailComponent extends Object{
$viewClass = $viewClass . 'View';
loadView($this->Controller->view);
}
$View = new View($this->Controller);
$View = new $viewClass($this->Controller);
$View->layout = $this->layout;
$msg = null;