Permalink
Browse files

Fixed undefined variable

  • Loading branch information...
1 parent b6ef130 commit 5abd00e6364cdaf82785b9273e64a24432da958a @evilbloodydemon evilbloodydemon committed May 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/view/view.php
View
@@ -489,7 +489,7 @@ function renderLayout($content_for_layout, $layout = null) {
$this->output = $this->_render($layoutFileName, $dataForLayout, $loadHelpers, true);
if ($this->output === false) {
- $this->output = $this->_render($layoutFileName, $data_for_layout);
+ $this->output = $this->_render($layoutFileName, $dataForLayout);
trigger_error(sprintf(__("Error in layout %s, got: <blockquote>%s</blockquote>", true), $layoutFileName, $this->output), E_USER_ERROR);
return false;
}

0 comments on commit 5abd00e

Please sign in to comment.