From 5abd00e6364cdaf82785b9273e64a24432da958a Mon Sep 17 00:00:00 2001 From: evilbloodydemon Date: Tue, 17 May 2011 15:29:21 +0400 Subject: [PATCH] Fixed undefined variable --- cake/libs/view/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index 0224ce4c9..c55d5db98 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -489,7 +489,7 @@ class View extends Object { $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:
%s
", true), $layoutFileName, $this->output), E_USER_ERROR); return false; }