From ed6ea45581638527a29a5adfea50341895c92a26 Mon Sep 17 00:00:00 2001 From: gwoo Date: Tue, 5 Aug 2008 14:33:44 +0000 Subject: [PATCH] closes #5207, empty values in scaffold view git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7436 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/scaffolds/view.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/scaffolds/view.ctp b/cake/libs/view/scaffolds/view.ctp index 712a9bf3b..288f48c04 100644 --- a/cake/libs/view/scaffolds/view.ctp +++ b/cake/libs/view/scaffolds/view.ctp @@ -47,7 +47,7 @@ foreach ($scaffoldFields as $_field) { } if($isKey !== true) { echo "\t\t".Inflector::humanize($_field)."\n"; - echo "\t\t\n\t\t\t" . ${$singularVar}[$modelClass][$_field] . " \n\t\t\n"; + echo "\t\t\n\t\t\t{${$singularVar}[$modelClass][$_field]}\n \t\t\n"; } } ?>