mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed incorrect Controller object property name usage in Email component. Closes #1661
This commit is contained in:
parent
da9ee49db9
commit
961208c9be
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ class EmailComponent extends Component {
|
|||
* @access private
|
||||
*/
|
||||
function _render($content) {
|
||||
$viewClass = $this->Controller->view;
|
||||
$viewClass = $this->Controller->viewClass;
|
||||
|
||||
if ($viewClass != 'View') {
|
||||
list($plugin, $viewClass) = pluginSplit($viewClass, true);
|
||||
|
|
Loading…
Reference in a new issue