Skip to content

Commit

Permalink
Fixed incorrect Controller object property name usage in Email compon…
Browse files Browse the repository at this point in the history
…ent. Closes #1661
  • Loading branch information
ADmad committed Apr 18, 2011
1 parent da9ee49 commit 961208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Component/EmailComponent.php
Expand Up @@ -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);
Expand Down

0 comments on commit 961208c

Please sign in to comment.