mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
"Fixes #3849, Deprecated loadView() call in email component when using theme"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6333 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d754adb067
commit
348df0fca2
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class EmailComponent extends Object{
|
|||
list($plugin, $viewClass) = explode('.', $viewClass);
|
||||
}
|
||||
$viewClass = $viewClass . 'View';
|
||||
loadView($this->Controller->view);
|
||||
App::import('View', $this->Controller->view);
|
||||
}
|
||||
$View = new $viewClass($this->Controller, false);
|
||||
$View->layout = $this->layout;
|
||||
|
|
Loading…
Add table
Reference in a new issue