diff --git a/lib/Cake/Controller/Component/EmailComponent.php b/lib/Cake/Controller/Component/EmailComponent.php index 103ccafedf1..1128be5d6bd 100644 --- a/lib/Cake/Controller/Component/EmailComponent.php +++ b/lib/Cake/Controller/Component/EmailComponent.php @@ -455,7 +455,7 @@ public function reset() { * @access private */ function _render($content) { - $viewClass = $this->Controller->view; + $viewClass = $this->Controller->viewClass; if ($viewClass != 'View') { list($plugin, $viewClass) = pluginSplit($viewClass, true);