mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
dfa840ad92
commit
f5be2ded4b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue